public class JmxResourceInfo extends Object implements JmxSelfNaming
JmxResource annotation or JmxSelfNaming.| Constructor and Description |
|---|
JmxResourceInfo() |
JmxResourceInfo(String jmxDomainName,
String jmxBeanName,
JmxFolderName[] jmxFolderNames,
String jmxDescription) |
JmxResourceInfo(String jmxDomainName,
String jmxBeanName,
String jmxDescription) |
JmxResourceInfo(String jmxDomainName,
String jmxBeanName,
String[] jmxFolderNameStrings,
String jmxDescription) |
| 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 |
getJmxDescription() |
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. |
void |
setJmxBeanName(String jmxBeanName)
NotRequired name of the object.
|
void |
setJmxDescription(String jmxDescription)
Description of the class for jconsole.
|
void |
setJmxDomainName(String jmxDomainName)
Required domain name which is the top-level folder in jconsole.
|
void |
setJmxFolderNames(JmxFolderName[] jmxFolderNames)
NotRequired array of folders where the bean will live.
|
void |
setJmxFolderNameStrings(String[] jmxFolderNameStrings)
NotRequired array of folders where the bean will live.
|
public JmxResourceInfo()
public JmxResourceInfo(String jmxDomainName, String jmxBeanName, JmxFolderName[] jmxFolderNames, String jmxDescription)
public JmxResourceInfo(String jmxDomainName, String jmxBeanName, String[] jmxFolderNameStrings, String jmxDescription)
public String getJmxDomainName()
JmxSelfNamingObjectName. Return null to use
the one from the JmxResource.domainName() annotation instead.getJmxDomainName in interface JmxSelfNamingpublic void setJmxDomainName(String jmxDomainName)
JmxResource.domainName()public String getJmxBeanName()
JmxSelfNamingObjectName. Return null
to use the one from the JmxResource.beanName() annotation instead.getJmxBeanName in interface JmxSelfNamingpublic void setJmxBeanName(String jmxBeanName)
JmxResource.beanName()public JmxFolderName[] getJmxFolderNames()
JmxSelfNamingObjectName. Return null to use
the folder names specified in the JmxResource.folderNames() annotation instead.getJmxFolderNames in interface JmxSelfNamingpublic void setJmxFolderNames(JmxFolderName[] jmxFolderNames)
setJmxFolderNameStrings(String[]) should be used.JmxResource.folderNames()public void setJmxFolderNameStrings(String[] jmxFolderNameStrings)
setJmxFolderNames(JmxFolderName[]) should be used. Can be used to specify an array of folder-names
instead of having to construct a JmxFolderName array.JmxResource.folderNames()public String getJmxDescription()
public void setJmxDescription(String jmxDescription)
JmxResource.description()This documentation content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.