Ok,
I know now. You should use @Autowired to indicate a constructor to create bean
Type: Posts; User: bazi; Keyword(s):
Ok,
I know now. You should use @Autowired to indicate a constructor to create bean
hi,
I've checked Java-based configuraiton, and I couldn't do that neither via @Configuraiton neither via AnnotationConfigApplicationContext method
Then I've seen this
look this...
Does anybody know?
Hi,
I've tried set the property in the following way:
@Component
public class Empl {
private int age;
public Empl() {}
Now I understand,
Thanks Master :)
Thanks,
But I talked about XML-centric configuration.
For example: I annotaded a bean as @Component, and how to address it from XML descriptor. I've done some experiments ant it turned out that...
Hi,
I have a problem. I always used XML file to configure the container. Now we have, annoations. But still XML is more powerfull than annotatations. I wonder how to mix that two configurations...