[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: JBAOP-87 - Annotation Dependencies
adrian@jboss.org
do-not-reply at jboss.com
Fri Jul 14 07:10:21 EDT 2006
Also as part of the metadata stuff I'm doing, I've been looking
at what it would take to move the AOP Annotation implementation into container and fix it to make it properly.
This is because I need a generic method to populate annotations
at all levels of metadata, e.g. (pseudo xml)
| <deployment ...>
| <annotation>@DeploymentLevelAnnotation</annotation>
| </deployment>
|
| or
|
| <deployment subsystem="JCA">
| <annotation>@SecurityDomain("DefaultJCARealm")</annotation>
| </deployment>
|
However when I looked at the AOP implementation, it has two problems:
1) It does not implement the Annotation properly - no annotationType()
2) It does not add default values
Obviously to apply default values, is going to require javassist
to read them from the annotation interface class.
I'd also like to be able to use constructed annotations without javassist
in the classpath, even if that means default values won't be applied.
So what I'd like is an annotation factory that can vary based
on whether javassist is in the classpath.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958035#3958035
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958035
More information about the jboss-dev-forums
mailing list