[infinispan-dev] Syncing to central

Sanne Grinovero sanne at infinispan.org
Mon Oct 24 07:04:58 EDT 2011


>>> 1. We hijack javadoc processing to generate the RHQ xml file, which means that the annotations need be available beyond the compile phase. This forces the annotation, and rhq annotations, dependencies to be required. At the time of writing this, I wasn't aware of annotation processors and that would have been the right way to solve this issue. That should avoid dependencies going beyond compilation time, but would bring other issues, i.e. annotation processor discovery (we'd need one for JBoss Logging and one for this)…etc.
>>
>> What has annotation processor discovery to do with RHQ?
>
> All JMX methods are annotated with JMX annotations and RHQ annotations too. The latter are used to generate the RHQ configuration file which is what tells RHQ what a jmx value is used for, whether a numeric measuremen, a text field…etc.

I see, but this package only includes plain annotations right? Even
looking into the infinispan-tool package I don't see annotation
PROCESSORS, are we making confusion on the terms here?
Also when I explicitly disabled annotation processors discovery to
list only the jboss-logger this didn't break.



More information about the infinispan-dev mailing list