[infinispan-dev] JOPR plugin - display names

Manik Surtani manik at jboss.org
Mon Jul 6 13:58:49 EDT 2009


Well, either manually merged or the annotations could contain  
additional attributes explaining how it should be treated by JOPR - if  
this is a finite set.  What are we talking about - just "trait" and  
"numeric" ?

On 22 Jun 2009, at 16:54, Heiko W.Rupp wrote:

> Hi Manik,
>
>> Your JOPR plugin has an RHQ xml file that maps managed attributes  
>> to "friendly names".  Can this be generated?  Each managed  
>> attribute/operation is annotated using a @ManagedAttribute/ 
>> @ManagedOperation annotation, which has a "description".  This is  
>> the description that should be used in any GUI console.
>
>
> I think that most of it could be generated -- at least a "draft"  
> that would need to be manually merged - some stuff just sometimes
> makes no sense to be exported or needs special treatment in code.  
> Also I think the annotations don't really tell if e.g. a
> String value (made up only of numbers) should be treated as Trait or  
> Numerical metric (or the other way around) - it makes no sense
> e.g. to send a version number as numeric metric to Jopr every few  
> seconds - this would be a trait metric.
>
>  Heiko
>
> -- 
> Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei  
> München
> Handelsregister: Amtsgericht München HRB 153243
> Geschaeftsführer: Brendan Lane, Charlie Peters, Michael Cunningham,  
> Charles Cachera
>

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