Class BaseJmxSelfNaming
java.lang.Object
com.j256.simplejmx.common.BaseJmxSelfNaming
- All Implemented Interfaces:
JmxSelfNaming
Base class which has default implementations of all of the
JmxSelfNaming methods. This is designed to allow a
subclass to extend it and only override the methods to affect the object-name that they want.- Author:
- graywatson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the name of the object that will be the "name=..." part of the associatedObjectName.Return the domain name of the object that is used to built the associatedObjectName.Return the appropriate array of folder names used to built the associatedObjectName.
-
Constructor Details
-
BaseJmxSelfNaming
public BaseJmxSelfNaming()
-
-
Method Details
-
getJmxDomainName
Description copied from interface:JmxSelfNamingReturn the domain name of the object that is used to built the associatedObjectName. Return null to use the one from theJmxResource.domainName()annotation instead.- Specified by:
getJmxDomainNamein interfaceJmxSelfNaming
-
getJmxBeanName
Description copied from interface:JmxSelfNamingReturn the name of the object that will be the "name=..." part of the associatedObjectName. Return null to use the one from theJmxResource.beanName()annotation instead.- Specified by:
getJmxBeanNamein interfaceJmxSelfNaming
-
getJmxFolderNames
Description copied from interface:JmxSelfNamingReturn the appropriate array of folder names used to built the associatedObjectName. Return null to use the folder names specified in theJmxResource.folderNames()annotation instead.- Specified by:
getJmxFolderNamesin interfaceJmxSelfNaming
-