ObjectName
From Resin 3.0
(Difference between revisions)
Line 1: | Line 1: | ||
[[Category:Administration]] | [[Category:Administration]] | ||
− | The [JMX] ObjectName describes the name of a managed object. | + | The [[JMX]] ObjectName describes the name of a managed object. |
resin:type=WebApp,name=/foo,host=wiki.caucho.com | resin:type=WebApp,name=/foo,host=wiki.caucho.com |
Latest revision as of 03:40, 4 August 2006
The JMX ObjectName describes the name of a managed object.
resin:type=WebApp,name=/foo,host=wiki.caucho.com
The ObjectName has two main sections:
- A naming domain (e.g. "resin:")
- An association list of key,value properties
domain
The domain is used as a namespace to distinguish naming conventions. So "resin" uses the Resin naming conventions. "j2ee" uses J2EE naming conventions.
Resin conventions
Each objects managed by Resin have the following convention:
resin:type=class-name,name=identifier[,context]
For example, the unique ServerMXBean in a Resin instance has the name:
resin:type=ServerMXBean
A [cluster] with an id="app-tier" would have the name:
resin:type=ClusterMXBean,name=app-tier
And a web-app with an id='/foo' in the virtual host 'www.foo.com' would have the name:
resin:type=WebAppMXBean,name=/foo,Host=www.foo.com
Contexts
Currently, Resin has two contexts, Host and WebApp.