com.ibm.websphere.management

Class ObjectNameHelper

  1. java.lang.Object
  2. extended bycom.ibm.websphere.management.ObjectNameHelper
All implemented interfaces:
ObjectNameProperties

  1. public class ObjectNameHelper
  2. extends java.lang.Object
  3. 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

Constructor and Description
ObjectNameHelper()

Method Summary

Modifier and Type Method and Description
  1. static
  2. java.lang.String
getCellName(javax.management.ObjectName on)
  1. static
  2. java.lang.String
getMBeanIdentifier(javax.management.ObjectName on)
  1. static
  2. java.lang.String
getMBeanType(javax.management.ObjectName on)
  1. static
  2. java.lang.String
getNodeName(javax.management.ObjectName on)
  1. static
  2. 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

Constructor Detail

ObjectNameHelper

  1. public ObjectNameHelper()

Method Detail

getCellName

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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