[jboss-user] [JBoss AOP] - Re: Negation Pointcut Example

kumaran d do-not-reply at jboss.com
Mon May 16 03:05:23 EDT 2011


kumaran d [http://community.jboss.org/people/dkumaran] created the discussion

"Re: Negation Pointcut Example"

To view the discussion, visit: http://community.jboss.org/message/605388#605388

--------------------------------------------------------------
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
[http://community.jboss.org/message/605388#605388]

Start a new discussion in JBoss AOP at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2027]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110516/0aac2310/attachment-0001.html 


More information about the jboss-user mailing list