views:

27

answers:

1

Hi,

When viewing JMX beans in JConsole it renders all the beans under a given domain part as a hierarchy. (JVisualVM has the same behaviour with the JConsole MBeans plugin.)

I realise that JMX object names are not hierarchical, but nevertheless JConsole is picking the keys in some order so that it can render them hierarchically.

Does anybody know what rules it uses to order the keys? It doesn't seem to be left-to-right or alphabetical.

Thanks.

+1  A: 

It probably lays it out according the JMX ObjectName conventions from the JMX Best Practices Guide.

Michael Barker
Hmm... Looks like JConsole treats the `type` key specially (as it is given special status in the spec) and renders that as the highest level node beneath the domain.
dty