[jboss-user] [JBoss AOP] - Re: NullPointerException at advised._getInstanceAdvisor();
liemmn
do-not-reply at jboss.com
Fri Oct 13 13:45:31 EDT 2006
Thanks, Kabir, for the suggestion. But, I am currently running with jboss-aop 1.5.2 GA and JDK 1.4.2_12. I have this same issue.
Here's a snippet of my jboss-aop.xml:
| <bind pointcut="execution(public * $instanceof{com.hp.d2d.pal.hibernate.AbstractHPAL}->*(..))">
| <interceptor class="com.hp.d2d.aop.MethodTimerInterceptor"/>
| </bind>
| <bind pointcut="call(* com.hp.d2d.pal.BackupPolicyPAL->*(..))">
| <interceptor class="com.hp.d2d.aop.TracerInterceptor"/>
| </bind>
|
I basically want to time all the methods of the subclasses of AbstractHPAL, some of which implement the BackupPolicyPAL interface.
Thanks,
Liem
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978248#3978248
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978248
More information about the jboss-user
mailing list