[jboss-user] [JBoss AOP] - Re: Intercept Annonation with argument
DerMas
do-not-reply at jboss.com
Thu Oct 16 04:41:15 EDT 2008
How can I define a pointcut which intercepts only methods with the argument MyValue.BAR?
eg:
|
| @myAnnotation (MyValue.BAR)
| public void foo() {
| System.out.println("HelloWorld");
| }
|
| @myAnnotation (MyValue.NOT)
| public void foofoo() {
| System.out.println("HelloSky");
| }
|
Now i'd like to define a pointcut which only affects foo() and not foofoo().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182570#4182570
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182570
More information about the jboss-user
mailing list