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

  • From: Tomas Hurka <tomas.hurka@...>
  • To: users@...
  • Subject: Re: Where in the JMX specification does it describe how properties in the ObjectName results in hierarchical folders?
  • Date: Sat, 21 Dec 2013 16:06:56 +0100

Hi David,

On 21 Dec 2013, at 05:18, KARR, DAVID wrote:

>> 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?
>
>> The text below is the copy-paste from
>> com.sun.tools.visualvm.modules.mbeans.XTree:
>> The ordered key property list used to build the MBean tree will be the one
>> returned by the method ObjectName.getKeyPropertyListString() with "type" as
>> first key, and "j2eeType" as second key, if present. If any of the keys
>> specified in the comma-separated key property list does not apply to the
>> given MBean then it will be discarded.
>
>> The source of com.sun.tools.visualvm.modules.mbeans.XTree is here:
>> <https://java.net/projects/visualvm/sources/svn/content/branches/release136_f
>> ixes/plugins/mbeans/src/com/sun/tools/visualvm/modules/mbeans/XTree.java?rev=
>> 3272>
> 
> I don't understand.  How does this answer my question?  What is an "ordered 
> key property list" and what is the relation to properties like "00" and 
> "01"?
I guess this is constructed from ObjectName. ObjectName consist of domain, 
(:) and key property list. So in your case:
":00=org,01=apache,02=stuff,03=gork,name=ComponentName"
domain is empty and key property list is
00=org
01=apache
02=stuff
03=gork
name=ComponentName

Since there is no "type" or "j2eeType" key, the order of folders in VisualVM 
and JConsole is 
org
 |
 +-> apache
        |
        +-> stuff
              |
              +-> gork
                   |
                   +-> ComponentName

Is it clear now? 

Bye,
--
Tomas Hurka   <mailto:tomas.hurka@...>
NetBeans Profiler http://profiler.netbeans.org
VisualVM http://visualvm.java.net
Software Developer
Oracle, Praha Czech Republic





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