[jboss-user] [JBoss AOP] - Re: Identification of classes intercepted by pointcuts
fabiocsilva
do-not-reply at jboss.com
Sat Dec 23 13:38:00 EST 2006
I tried with this code;
|
| AspectManager.instance().getAdvisors() //NOTHING
|
| Map mapBindings = AspectManager.instance().getBindings();
| Iterator iBindings = mapBindings.values().iterator();
| System.out.println("pointcuts:");
| while (iBindings.hasNext()) {
| AdviceBinding bind = (AdviceBinding) iBindings.next();
| System.out.println(" " + bind.getPointcut().getExpr());
|
|
| ArrayList aAdvisors = bind.getAdvisors(); //NOTHING
| System.out.println(aAdvisors);
| }
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996031#3996031
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996031
More information about the jboss-user
mailing list