public class LanguageBean implements BeanNameAware
private String languageName;
private String beanName;
setter & getter are there.
When I run the Program i got the value for property name languageName, So by which mechanism it get injected the value, how it came to know to use setter injection and not constructor injection?
Also is Dependency Injection same as Autowiring?
Please help me.