com.ibm.websphere.management
Class ObjectNameHelper
java.lang.Object
com.ibm.websphere.management.ObjectNameHelper
- All Implemented Interfaces:
- ObjectNameProperties
public class ObjectNameHelper
- extends java.lang.Object
- implements ObjectNameProperties
This is a helper class to extract various property values from a
javax.managment.ObjectName
Method Summary |
static java.lang.String |
getCellName(javax.management.ObjectName on)
|
static java.lang.String |
getMBeanIdentifier(javax.management.ObjectName on)
|
static java.lang.String |
getMBeanType(javax.management.ObjectName on)
|
static java.lang.String |
getNodeName(javax.management.ObjectName on)
|
static java.lang.String |
getProcessName(javax.management.ObjectName on)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectNameHelper
public ObjectNameHelper()
getCellName
public static java.lang.String getCellName(javax.management.ObjectName on)
- Parameters:
on
- - The ObjectName from which to retrieve property value
- Returns:
- the value of the "cell" property in the input ObjectName, or
null if the property is not in the ObjectName
getNodeName
public static java.lang.String getNodeName(javax.management.ObjectName on)
- Parameters:
on
- - The ObjectName from which to retrieve property value
- Returns:
- the value of the "node" property in the input ObjectName,
or null if the property is not in the ObjectName
getProcessName
public static java.lang.String getProcessName(javax.management.ObjectName on)
- Parameters:
on
- - The ObjectName from which to retrieve property value
- Returns:
- the value of the "process" property in the input ObjectName,
or null if the property is not in the ObjectName
getMBeanType
public static java.lang.String getMBeanType(javax.management.ObjectName on)
- Parameters:
on
- - The ObjectName from which to retrieve property value
- Returns:
- the value of the "type" property in the input ObjectName,
or null if the property is not in the ObjectName
getMBeanIdentifier
public static java.lang.String getMBeanIdentifier(javax.management.ObjectName on)
- Parameters:
on
- - The ObjectName from which to retrieve property value
- Returns:
- the value of the "mbeanIdentifier" property in the input
ObjectName, or null if the property is not in the ObjectName