[jboss-user] [JBoss AOP] New message: "Re: Is it possible to intercept method in Abstract Class"

Alan Nisbet do-not-reply at jboss.com
Fri Feb 5 09:11:29 EST 2010

User development,

A new message was posted in the thread "Is it possible to intercept method in Abstract Class":


Author  : Alan Nisbet
Profile : http://community.jboss.org/people/nizzy

Thanks again for the help I can now intercept using pointcut;
<bind pointcut="execution(protected * $instanceof{*.AbstractHandler}->aquireHandler(..))">
     <interceptor-ref name="mockhandler"/>

Which is pretty much exactly as you suggested Kabir, cheers.


To reply to this message visit the message page: http://community.jboss.org/message/524402#524402

More information about the jboss-user mailing list