[infinispan-dev] JOPR and managing Infinispan

Manik Surtani manik at jboss.org
Mon Jul 27 07:19:59 EDT 2009


On 24 Jul 2009, at 10:05, Galder Zamarreno wrote:

>
>
> 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.

That would mean baselining on JDK7 which won't happen for a while to  
come IMO.
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org







More information about the infinispan-dev mailing list