[infinispan-dev] JOPR and managing Infinispan

Galder Zamarreno galder.zamarreno at redhat.com
Fri Jul 24 05:05:37 EDT 2009



On 07/21/2009 04:56 PM, Heiko W.Rupp wrote:
> 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.

@MO and @MA are supposed to be part ofg JDK7:
http://download.java.net/jdk7/docs/api/javax/management/ManagedAttribute.html

So, if all depended on some jdk7-ish.jar that contained these 
annotations, that would solve the issue.

>
>     Heiko
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev

-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list