[jboss-user] [JBoss AOP] - Re: Interceptor class - Identification of Call or Execution

ykrishnaprasad do-not-reply at jboss.com
Thu Jan 4 18:34:06 EST 2007


So this means that:

If i HAVE TO pass the generic Invocation object to my invoke method, the only way is to check if the invocation is an instance of MethodCalledByMethod, MethodCalledByConstructor, ConstructorCalledByMethod or 
ConstructorCalledByConstructor and if its one of these, then its a CALLER pointcut otherwise its an EXECUTION pointcut.

Am i right?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3998104#3998104

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3998104



More information about the jboss-user mailing list