Announcement Announcement Module
Collapse
No announcement yet.
How do I know if a bean is intercepted? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How do I know if a bean is intercepted?

    I want to log each bean defined in my spring files that have interceptors attached to them. I'm using the auto bean creator and I want to make SURE that the transaction interceptors were applied since I'm using wildcards.

    Dino

  • #2
    An intercepted bean can be cast to org.springframework.aop.framework.Advised. Use getAdvisors() to examine the chain. See the AOP chapter in the ref manual.

    Comment

    Working...
    X