RE: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

  • From: "KARR, DAVID" <dk068x@...>
  • To: "users@..." <users@...>
  • Subject: RE: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?
  • Date: Thu, 19 Dec 2013 18:25:53 +0000
  • Accept-language: en-US

> -----Original Message-----
> From: Jess Holle [mailto:jessh@...]
> Sent: Thursday, December 19, 2013 9:07 AM
> To: users@...
> Subject: Re: Where in the JMX specification does it describe how properties
> in the ObjectName results in hierarchical folders?
> 
> The JMX specification clearly doesn't speak to the folder tree UI used
> by jconsole and VisualVM, nor standardize any meaning/correlation
> between ObjectNames and such UIs.
> 
> This is a matter of implementing to an undocumented de factor UI standard.

Ok, I acknowledge that, but WHAT IS the standard, whether de facto or not?  
How exactly does VisualVM interpret a value of "00" or "01" or "02", or "031" 
or any variation of that, to determine how to render a folder structure?

> On 12/19/2013 10:48 AM, KARR, DAVID wrote:
> > I'm working on some startup code that walks a list of components created 
> > by
> a framework, where each component instance has an associated "location" in
> something that looks like a directory structure.
> >
> > I created mbeans for each of these instances, where in my first cut at 
> > this
> I just used the fully-qualified "path" to the component as the component
> name.  This isn't ideal, as I end up with a long list of components that 
> look
> like absolute file paths.  I really wanted it to show a hierarchical
> structure matching the folder structure.
> >
> > I asked about this on StackOverflow
> (http://stackoverflow.com/questions/20669928/is-it-possible-to-create-jmx-
> subdomains), and someone explained to me how I could define certain
> properties in the ObjectName that would result in the components showing up
> exactly the way I wanted.
> >
> > Specifically, if my component had a "path" of, say,
> "org.apache.stuff.gork.ComponentName", then I defined an ObjectName value of
> ":00=org,01=apache,02=stuff,03=gork,name=ComponentName".
> >
> > When I connected from VisualVM, in the "DefaultDomain" folder, I saw an
> "org" folder, which contains the "apache" folder, and so on to "stuff",
> "gork", and then the leaf node of "ComponentName".
> >
> > This is exactly what I want.  What I need now is something that actually
> states that this is supposed to work this way.  I still don't know for
> certain what the exact semantics are of those properties in the ObjectName
> that make it behave this way, and I don't have huge confidence that this
> isn't just an accident of how VisualVM was implemented.  I'm fairly certain
> this isn't specified in the JMX specification, so one or more people decided
> this would be a good thing to make it do, so they did it.


Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

KARR, DAVID 12/19/2013

Re: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

Jess Holle 12/19/2013

RE: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

KARR, DAVID 12/19/2013

Re: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

Jess Holle 12/19/2013

Re: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

Tomas Hurka 12/20/2013

RE: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

KARR, DAVID 12/21/2013

Re: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

Tomas Hurka 12/21/2013

RE: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

KARR, DAVID 12/21/2013

Re: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

Tomas Hurka 12/27/2013

RE: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?

KARR, DAVID 12/27/2013
Terms of Use; Privacy Policy; Copyright ©2013-2015 (revision 20150626.29986a4)
 
 
Close
loading
Please Confirm
Close