JBoss Community

Re: Negation Pointcut Example

created by kumaran d in JBoss AOP - View the full discussion

finally i have resolved the issue as below.

 

 

    <bind pointcut="execution( * com.mycom.common.*->*(..) )

            AND !execution( * com.mycom.common.util.*->*(..) ) ">

        <interceptor-ref name="com.mycom.aop.MyInterceptor"/>

    </bind>

 

thanks.

Reply to this message by going to Community

Start a new discussion in JBoss AOP at Community