Try changing the @Target of your annotation to ELementType.TYPE. Annotation introductions
are compiled in to the bytecode, and if it has the wrong target it will not be
recognised.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989652#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...