Introduce an Annotation through an XML Descriptor

WARNING - TOPIC NOT WRITTEN - TOPIC ID: 3472

This topic has not yet been written. The content below is from the topic description.
Example code The example code declares annotations via doclets within POJO.java. Single.java, Trace.java, and Complex.java all represent our annotation interfaces. The TraceInterceptor traces method, field, and constructor calls on POJO and outputs the annotations tagged on those members; Applying an Annotation Introduction jboss-aop.xml @Complex (ch='a', string="hello world", flt=5.5, dbl=6.6, shrt=5, lng=6, integer=7, bool=true, annotation=@Single("hello"), array={"hello", "world"}, clazz=java.lang.String) It is pretty simple, define an expression within the expr attribute. constructor(), method(), class(), and field() all take a corresponding expression of that type. You can also use the has() and hasfield() operators as well if you wish and any boolean expression with those 6 operators.