[jboss-user] [JBoss AOP] - Help with pointcut

csr1978 do-not-reply at jboss.com
Tue Dec 2 14:46:58 EST 2008


I have a pointcut which intercepts all the method calls in thin package. Here is my pointcut:
	<bind pointcut="all(com.gm.tnt.ds.thin.*)">    
  | 		<interceptor class="org.jboss.aspect.custom.MyMethodInterceptor"/>  
  | 	</bind>

I want to modify my pointcut to include all the classes in tnt package so i tried with:

<bind pointcut="all(com.gm.tnt.*.*.*)">    

This didn't work. Could anyone please let me know how to acheive this?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193855#4193855

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4193855

More information about the jboss-user mailing list