|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.simplejmx.common.JmxResourceInfo
public class JmxResourceInfo
This is used programmatically to register another class for JMX exposure. This is used when you are wiring using code
or Spring another object that does not use the JmxResource
annotation or JmxSelfNaming
.
Constructor Summary | |
---|---|
JmxResourceInfo()
|
|
JmxResourceInfo(String jmxDomainName,
String jmxBeanName,
JmxFolderName[] jmxFolderNames,
String jmxDescription)
|
|
JmxResourceInfo(String jmxDomainName,
String jmxBeanName,
String[] jmxFolderNameStrings,
String jmxDescription)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JmxResourceInfo()
public JmxResourceInfo(String jmxDomainName, String jmxBeanName, JmxFolderName[] jmxFolderNames, String jmxDescription)
public JmxResourceInfo(String jmxDomainName, String jmxBeanName, String[] jmxFolderNameStrings, String jmxDescription)
Method Detail |
---|
public String getJmxDomainName()
JmxSelfNaming
ObjectName
. Return null to use
the one from the JmxResource.domainName()
annotation instead.
getJmxDomainName
in interface JmxSelfNaming
public void setJmxDomainName(String jmxDomainName)
JmxResource.domainName()
public String getJmxBeanName()
JmxSelfNaming
ObjectName
. Return null
to use the one from the JmxResource.beanName()
annotation instead.
getJmxBeanName
in interface JmxSelfNaming
public void setJmxBeanName(String jmxBeanName)
JmxResource.beanName()
public JmxFolderName[] getJmxFolderNames()
JmxSelfNaming
ObjectName
. Return null to use
the folder names specified in the JmxResource.folderNames()
annotation instead.
getJmxFolderNames
in interface JmxSelfNaming
public 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |