[jboss-user] [JBoss AOP] New message: "Re: Is it possible to intercept method in Abstract Class"
Kabir Khan
do-not-reply at jboss.com
Fri Feb 5 07:38:52 EST 2010
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/kabir.khan@jboss.com
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
More information about the jboss-user
mailing list