Search:

Type: Posts; User: bazi; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    763

    Ok, I know now. You should use @Autowired to...

    Ok,

    I know now. You should use @Autowired to indicate a constructor to create bean
  2. hi, I've checked Java-based configuraiton, and...

    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...
  3. Replies
    4
    Views
    763

    Does anybody know?

    Does anybody know?
  4. Replies
    4
    Views
    763

    Setting property via @Value

    Hi,

    I've tried set the property in the following way:

    @Component
    public class Empl {

    private int age;

    public Empl() {}
  5. Replies
    4
    Views
    704

    Now I understand, Thanks Master :)

    Now I understand,

    Thanks Master :)
  6. Replies
    4
    Views
    704

    Thanks, But I talked about XML-centric...

    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...
  7. Replies
    4
    Views
    704

    XML and annotations

    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...
Results 1 to 7 of 7