com.ibm.websphere.pmi.stat

Class MBeanStatDescriptor

  1. java.lang.Object
  2. extended bycom.ibm.websphere.pmi.stat.MBeanStatDescriptor
All implemented interfaces:
java.io.Serializable

  1. public class MBeanStatDescriptor
  2. extends java.lang.Object
  3. implements java.io.Serializable
The 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.

See Also:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. long
serialVersionUID

Constructor Summary

Constructor and Description
MBeanStatDescriptor(javax.management.ObjectName mName)
Constructor
MBeanStatDescriptor(javax.management.ObjectName mName,StatDescriptor sd)
Constructor

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getIdentifier()
  1. java.lang.String
getName()
  1. javax.management.ObjectName
getObjectName()
Returns the ObjectName of this MBeanStatDescriptor.
  1. StatDescriptor
getStatDescriptor()
Returns the StatDescriptor of this MBeanStatDescriptor.
  1. boolean
isSame(MBeanStatDescriptor msd)
  1. java.lang.String
toString()
Returns a String representation of MBeanStatDescriptor for debug.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail

serialVersionUID

  1. public static final long serialVersionUID
See Also:

Constructor Detail

MBeanStatDescriptor

  1. public MBeanStatDescriptor(javax.management.ObjectName mName)
Constructor
Parameters:
mName - should be a valid ObjectName (not null).

MBeanStatDescriptor

  1. public MBeanStatDescriptor(javax.management.ObjectName mName,
  2. StatDescriptor sd)
Constructor
Parameters:
mName - should be a valid ObjectName (not null).
sd - could be null.

Method Detail

getObjectName

  1. public javax.management.ObjectName getObjectName( )
Returns the ObjectName of this MBeanStatDescriptor.

getStatDescriptor

  1. public StatDescriptor getStatDescriptor( )
Returns the StatDescriptor of this MBeanStatDescriptor.

isSame

  1. public boolean isSame(MBeanStatDescriptor msd)
Returns:
true if this MBeanStatDescriptor is same as msd

getIdentifier

  1. public java.lang.String getIdentifier( )
Returns:
a unique identifier for the MBeanStatDescriptor

getName

  1. public java.lang.String getName( )
Returns:
the name of its StatDescriptor if it is not null or the name of the MBean ObjectName if StatDescriptor is null

toString

  1. public java.lang.String toString( )
Returns a String representation of MBeanStatDescriptor for debug.
Overrides:
toString in class java.lang.Object