The MC AnnotationCreator supports the types for annotations, so you could pass in enums.
See org.jboss.test.annotation.factory.test.AnnotationCreatorTest in the container
project:
| String expr =
"(a)org.jboss.test.annotation.factory.support.Complex(ch='a',
string=\"Test123\", flt=9.9, dbl=123456789.99, shrt=1, lng=987654321,
integer=123, bool=true,
annotation=(a)org.jboss.test.annotation.factory.support.SimpleValue(\"Yes\"),
array={\"Test\", \"123\"}, clazz=java.lang.Long.class,
enumVal=org.jboss.test.annotation.factory.support.MyEnum.TWO)";
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986165#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...