[jboss-user] [JBoss AOP] - Re: JDK 5 annotated method pointcut
whitingjr
do-not-reply at jboss.com
Wed Aug 12 13:07:23 EDT 2009
Try setting the RetentionPolicy on your method annotation.
@Target({ElementType.METHOD})
| @Retention(RetentionPolicy.RUNTIME)
| public @interface MyAnnotation {}
This solved the problem for me.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249277#4249277
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249277
More information about the jboss-user
mailing list