[jboss-dev-forums] [Design of POJO Server] - Re: @JMX aspect and aop/mc integration
kabir.khan@jboss.com
do-not-reply at jboss.com
Wed Nov 15 10:32:10 EST 2006
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 = "@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=@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#3986165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3986165
More information about the jboss-dev-forums
mailing list