3 Replies Latest reply on Dec 3, 2008 8:31 AM by kabirkhan

    Help with pointcut

    csr1978

      Hi,

      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?

      Thanks,
      Srikanth.