Announcement Announcement Module
Collapse
No announcement yet.
Non Spring beans Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Non Spring beans

    I configured aop to do method logging in applicationContext.xml. What I observed is this logging is working only for Spring Beans. Is this an expected behaviour? To make logging work, should I make all my classes as spring beans?

    Any references help me. Thanks.

  • #2
    Spring will only advice beans it knows about, so only beans in the applicationContext. So it is expected behavior. I suggest the reference guide as this is explained quite detailed.

    Comment

    Working...
    X