public interface JmxSelfNaming
You register these objects using the standard JmxServer.register(Object)
methods and then call
JmxServer.unregister(Object)
if they are removed later. For an example of dynamic self-naming objects, see
the JmxIntegrationTest class.
Modifier and Type | Method and Description |
---|---|
String |
getJmxBeanName()
Return the name of the object that will be the "name=..." part of the associated
ObjectName . |
String |
getJmxDomainName()
Return the domain name of the object that is used to built the associated
ObjectName . |
JmxFolderName[] |
getJmxFolderNames()
Return the appropriate array of folder names used to built the associated
ObjectName . |
String getJmxDomainName()
ObjectName
. Return null to use
the one from the JmxResource.domainName()
annotation instead.String getJmxBeanName()
ObjectName
. Return null
to use the one from the JmxResource.beanName()
annotation instead.JmxFolderName[] getJmxFolderNames()
ObjectName
. Return null to use
the folder names specified in the JmxResource.folderNames()
annotation instead.This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.