User development,

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

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

Author  : Kabir Khan
Profile : http://community.jboss.org/people/[email protected]

Message:
--------------------------------------------------------------
We weave the point where the method is actually implemented by replacing the 
method body, so try
 
     <bind pointcut="execution(protected * 
$instanceof{xxx.xxx.AbstractHandler}->aquireHandler(..)})">
          <interceptor-ref name="mockhandler"/>
     </bind>

This is assuming that aquireHandler is an abstract method

--------------------------------------------------------------

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


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

Reply via email to