public class MBeanStatDescriptor
extends java.lang.Object
implements java.io.Serializable
MBeanStatDescriptor
includes an MBean ObjectName and an optional StatDescriptor.
PMI uses MBeanStatDescriptor to map the PMI modules and submodules so that the client can
request a subset of PMI data available in an MBean.
When requesting PMI data, the server has to know the MBean ObjectName that provides the data. For most PMI modules and submodules, there are MBeans directly mapping to them. However, for some PMI modules and submodules, there are no mapping MBeans. In this case, PMI uses the MBeanStatDescriptor to map the PMI modules and submodules so that the client can request a subset of PMI data available in an MBean.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
MBeanStatDescriptor(javax.management.ObjectName mName)
Constructor
|
MBeanStatDescriptor(javax.management.ObjectName mName,
StatDescriptor sd)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getIdentifier() |
java.lang.String |
getName() |
javax.management.ObjectName |
getObjectName()
Returns the ObjectName of this MBeanStatDescriptor.
|
StatDescriptor |
getStatDescriptor()
Returns the StatDescriptor of this MBeanStatDescriptor.
|
boolean |
isSame(MBeanStatDescriptor msd) |
java.lang.String |
toString()
Returns a String representation of MBeanStatDescriptor for debug.
|
public static final long serialVersionUID
public MBeanStatDescriptor(javax.management.ObjectName mName)
mName
- should be a valid ObjectName (not null).public MBeanStatDescriptor(javax.management.ObjectName mName, StatDescriptor sd)
mName
- should be a valid ObjectName (not null).sd
- could be null.public javax.management.ObjectName getObjectName()
public StatDescriptor getStatDescriptor()
public boolean isSame(MBeanStatDescriptor msd)
public java.lang.String getIdentifier()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Object