|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.simplejmx.common.BaseJmxSelfNaming
public class BaseJmxSelfNaming
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.
Constructor Summary | |
---|---|
BaseJmxSelfNaming()
|
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseJmxSelfNaming()
Method Detail |
---|
public String getJmxDomainName()
JmxSelfNaming
ObjectName
. Return null to use
the one from the JmxResource.domainName()
annotation instead.
getJmxDomainName
in interface JmxSelfNaming
public String getJmxBeanName()
JmxSelfNaming
ObjectName
. Return null
to use the one from the JmxResource.beanName()
annotation instead.
getJmxBeanName
in interface JmxSelfNaming
public JmxFolderName[] getJmxFolderNames()
JmxSelfNaming
ObjectName
. Return null to use
the folder names specified in the JmxResource.folderNames()
annotation instead.
getJmxFolderNames
in interface JmxSelfNaming
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |