[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:03:00 EDT 2006
I think it will be a good idea to make the MC annotation xml more free format.
Writing your example annotation in xml would be very verbose
and pointless unless we are going to allow injections into the annotation,
e.g.
| <!-- Potentially injected annotation construction -->
| <annotation name="Blah">
| <attribute name="DataSourceName"><inject bean="SomeDS" property="name"/>
| </annotation>
|
Better would be to just support:
| <annotation>
| @Containing(dependency=@TestAnnotationDependency(data="Dependency1"),
| contained=@Contained(dependencies= {@TestAnnotationDependency(data="Dependency2"), @TestAnnotationDependency(data="Dependency3")}))
| </annotation>
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3958033#3958033
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958033
More information about the jboss-dev-forums
mailing list