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
-
-
Field Summary
-
Fields inherited from interface com.ibm.websphere.management.ObjectNameProperties
CELL, MBEAN_IDENTIFIER, NAME, NODE, PROCESS, PROCESS_TYPE, TYPE
-
-
Constructor Summary
Constructors Constructor and Description ObjectNameHelper()
-
Method Summary
Methods Modifier and Type Method and Description 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)
-
-
-
Method Detail
-
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
-
-