[infinispan-dev] JOPR and managing Infinispan

Heiko W.Rupp hwr at redhat.com
Tue Jul 21 10:56:10 EDT 2009


Am 20.07.2009 um 17:48 schrieb Heiko W.Rupp:
>
> This actually like some interesting tooling that could be neat for
> other Jopr users too.

RHQ/Jopr already has a plugin skeleton generator - see
http://viewvc.rhq-project.org/cgi-bin/viewvc.cgi/rhq/trunk/modules/helpers/pluginGen/
and especially
http://support.rhq-project.org/display/RHQ/Plugins+-+plugin+generator

So this generator here can reuse some parts of the above generator or  
on the other hand above generator could be extended to actually point  
at some source code with MBeans and pull the information from there.  
Then it would populate the plugin descriptor with the metrics  
(descriptorMain.ftl) and also e.g. extend the implementation of the  
Measurement and Operation Facets with code that pulls the data from  
there or that invokes the operation.

  The later approach has the advantage that it could be reused by  
other projects. But this would also mean that other projects would  
need to use the same @MO/@MA annotations, which is unlikely.

   Heiko




More information about the infinispan-dev mailing list