"ykrishnaprasad" wrote :
| a) Can get the type of an invocation(whether its a METHOD)?
|
i guess you mean in the interceptor, so yes. just either try to cast it to a
MethodInvocation or check if its an instanceof MethodInvocation.
"ykrishnaprasad" wrote :
| b) Can i use org.jboss.aop.joinpoint.MethodCalledByMethodInvocation to see if a method
is invoked by another method?
|
i believe you are thinking of cflow here. with cflow you can define a stack of eg. method
calls that has to occur before a pointcut matches.
take a look at the cflow examples in the dist and let me know if it solves your problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3992980#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...