"adrian(a)jboss.org" wrote :
| anonymous wrote :
| | "stale.pedersen(a)jboss.org" wrote :
| | | - do finegrained operations/checks ala annotation visibility (which is only
possible with javassist and not java.lang.reflect afaik)
| | |
| | Annotation visibility?
| |
|
| Not sure why you need this. I assume you mean being able to look
| at annotations that are not Runtime visible? Is that really a good idea?
|
When I took over the project it supported pointcut matching on both Runtime visible and
invisible annotations out of the box. Checking the invisible ones proved to be a pretty
big performance hit, so we disabled the checking of those by default. In case this screwed
up things for our users we added the ability to turn on checking of chosen invisible
annotations by specifying
| -Djboss.aop.invisible.annotations=org.blah.Annotation1,org.blah.Annotation2
|
or
| -Djboss.aop.invisible.annotations=*
|
AFAIK nobody has complained about this/asked how to turn it on, although it is mentioned
in the reference manual. So, either we remove support for that in 2.1.0, or have an
alternative mechanism to provide for that
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4201904#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...