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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...