User development,

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

http://community.jboss.org/message/524402#524402

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

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

 
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


_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to