View Full Version : How do I know if a bean is intercepted?
hucmuc
Oct 1st, 2004, 08:20 PM
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
Rod Johnson
Oct 2nd, 2004, 03:32 AM
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.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.