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
    • 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) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ObjectNameHelper

        public ObjectNameHelper()
    • 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
IBM WebSphere Application ServerTM
Release 8.5