com.ibm.websphere.pmi
Class PmiModuleConfig

java.lang.Object
  |
  +--com.ibm.websphere.pmi.PmiModuleConfig
All Implemented Interfaces:
PmiConstants, java.io.Serializable

public class PmiModuleConfig
extends java.lang.Object
implements java.io.Serializable, PmiConstants

Contains static config info for an individual PMI module.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
           
 
Fields inherited from interface com.ibm.websphere.pmi.PmiConstants
AE_35, AE_40, AES_40, ALL_DATA, APPSERVER_MODULE, BEAN_METHODS_SUBMODULE, BEAN_MODULE, CACHE_MODULE, COLLECTION_DESC, CONNPOOL_MODULE, DEFAULT_MODULE_PREFIX, EJB_ENTITY, EJB_MESSAGEDRIVEN, EJB_STATEFUL, EJB_STATELESS, INITIALIZATION_FAILED, INITIALIZING, INTERCEPTOR_SUBMODULE, J2C_CF, J2C_DS, J2C_JMS_CONNECTIONS, J2C_MODULE, JAVA_TIME_CONVERT_RATIO, JVMPI_MODULE, LEVEL_DISABLE, LEVEL_ENABLE, LEVEL_HIGH, LEVEL_HIGH_STRING, LEVEL_LOW, LEVEL_LOW_STRING, LEVEL_MAX, LEVEL_MAX_STRING, LEVEL_MEDIUM, LEVEL_MEDIUM_STRING, LEVEL_NONE, LEVEL_NONE_STRING, LEVEL_UNDEFINED, LOAD_AVG, LOST_CONTACT, METHODS_SUBMODULE_SHORTNAME, MSG_BUNDLE, NOT_IN_SUBMODULE, ORBPERF_MODULE, PMI_DISABLE_STRING, ROOT_DESC, ROOT_NAME, RUNNING, RUNTIME_MODULE, SERVLET_SUBMODULE, SERVLETS_SUBMODULE_SHORTNAME, SESSIONS_MODULE, STOPPED, SYSTEM_MODULE, TEMPLATE_SUBMODULE, TERMINATING, THREADPOOL_MODULE, TRAN_MODULE, TYPE_CATEGORY, TYPE_COLLECTION, TYPE_DATA, TYPE_DOUBLE, TYPE_INSTANCE, TYPE_INT, TYPE_INVALID, TYPE_LOAD, TYPE_LONG, TYPE_MODULE, TYPE_MODULEROOT, TYPE_NODE, TYPE_ROOT, TYPE_SERVER, TYPE_STAT, TYPE_SUBINSTANCE, TYPE_SUBMODULE, TYPE_UNDEFINED, UNINITIALIZED, UNKNOWN_ID, WEBAPP_MODULE, WEBSERVICES_MODULE, WEBSERVICES_SUBMODULE, WLM_CLIENT_MODULE, WLM_MODULE, WLM_SERVER_MODULE, WSGW_MODULE, XML_COLLECTION, XML_COUNT, XML_CREATETIME, XML_DOUBLE, XML_ENDCOLLECTION, XML_ENDLINE, XML_ENDMODULE, XML_ENDNODE, XML_ENDSERVER, XML_ENDTAG, XML_ID, XML_INT, XML_INTEGRAL, XML_LASTVALUE, XML_LOAD, XML_LONG, XML_MODULE, XML_NAME, XML_NODE, XML_QUOTE, XML_SERVER, XML_START, XML_STAT, XML_SUMOFSQUARES, XML_TIME, XML_TOTAL, XML_VALUE, XML_VIEW
 
Constructor Summary
PmiModuleConfig(java.lang.String UID)
          PMI data are organized in modules.
 
Method Summary
 void addData(PmiDataInfo info)
          Set data when parsing the xml config.
 int getDataId(java.lang.String name)
          Given a data name in the module, return the data id.
 PmiDataInfo getDataInfo(int dataId)
          Given a data id in the module, return the PmiDataInfo.
 java.lang.String getDescription()
          return the description
 java.lang.String getMbeanType()
          Return the mapping MBean type.
 int getNumData()
          Get the number of data in this module
 java.lang.String getResourceBundle()
          Set the mapping MBean type.
 java.lang.String getShortName()
          return the short name - eg, beanModule
 java.lang.String getUID()
          Get the UID of this module.
 PmiDataInfo[] listAllData()
          Same as submoduleMembers(null) - i.e., return PmiDataInfo for all the data in the module.
 PmiDataInfo[] listData(java.lang.String submoduleName)
          Same as submoduleMembers.
 PmiDataInfo[] listLevelData(int level)
          return data whose level is equal to or lower than 'level'
 PmiDataInfo[] listMyLevelData(int level)
          return data whose level is equal to 'level'
 void print(java.io.PrintWriter pw)
          for debugging only
 void setDescription(java.lang.String description)
          Setter methods should not be called on client side.
 void setMbeanType(java.lang.String mbeanType)
          Set the mapping MBean type.
 void setResourceBundle(java.lang.String nlsFile)
          Set the mapping MBean type.
 PmiDataInfo[] submoduleMembers(java.lang.String submoduleName)
          Given a submodule name, return all the PmiDataInfo in the submodule.
 PmiDataInfo[] submoduleMembers(java.lang.String submoduleName, int level)
          Return an array of PmiDataInfo for the given submoduleName and level.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

PmiModuleConfig

public PmiModuleConfig(java.lang.String UID)
PMI data are organized in modules. Each module has a UID which is unique in the app server. PmiModuleConfig contains all the PmiDataInfo for the module.

Method Detail

setDescription

public void setDescription(java.lang.String description)
Setter methods should not be called on client side.


setMbeanType

public void setMbeanType(java.lang.String mbeanType)
Set the mapping MBean type.


setResourceBundle

public void setResourceBundle(java.lang.String nlsFile)
Set the mapping MBean type.


addData

public void addData(PmiDataInfo info)
Set data when parsing the xml config.


getResourceBundle

public java.lang.String getResourceBundle()
Set the mapping MBean type.


getNumData

public int getNumData()
Get the number of data in this module


getUID

public java.lang.String getUID()
Get the UID of this module.


getShortName

public java.lang.String getShortName()
return the short name - eg, beanModule


getDescription

public java.lang.String getDescription()
return the description


getMbeanType

public java.lang.String getMbeanType()
Return the mapping MBean type.


getDataId

public int getDataId(java.lang.String name)
Given a data name in the module, return the data id.


getDataInfo

public PmiDataInfo getDataInfo(int dataId)
Given a data id in the module, return the PmiDataInfo.


submoduleMembers

public PmiDataInfo[] submoduleMembers(java.lang.String submoduleName)
Given a submodule name, return all the PmiDataInfo in the submodule. If submoduleName is null, return all the PmiDataInfo in the module.


submoduleMembers

public PmiDataInfo[] submoduleMembers(java.lang.String submoduleName,
                                      int level)
Return an array of PmiDataInfo for the given submoduleName and level.


listData

public PmiDataInfo[] listData(java.lang.String submoduleName)
Same as submoduleMembers.


listAllData

public PmiDataInfo[] listAllData()
Same as submoduleMembers(null) - i.e., return PmiDataInfo for all the data in the module.


listLevelData

public PmiDataInfo[] listLevelData(int level)
return data whose level is equal to or lower than 'level'


listMyLevelData

public PmiDataInfo[] listMyLevelData(int level)
return data whose level is equal to 'level'


print

public void print(java.io.PrintWriter pw)
for debugging only


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


 

WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.