Interface BaseMBean

    • Method Detail

      • getType

        java.lang.String getType()
                          throws DIException
        Reads attribute "Type".

        getType() and getId() are used in a common schema for object names for all MBeans in the management package. The key properties part of the object name of each MBean is defined as "type=" + getType() + ",id=" + getId(), for example "type=AssemblyLine,id=Hello".

        Returns:
        the type of this MBean.
        Throws:
        DIException - if an error occurs while obtaining MBean's type.
      • getId

        java.lang.String getId()
                        throws DIException
        Reads attribute "Id". The "Id" value should be different for different MBeans of the same type.

        getType() and getId() are used in a common schema for object names for all MBeans in the management package. The key properties part of the object name of each MBean is defined as "type=" + getType() + ",id=" + getId(), for example "type=AssemblyLine,id=Hello".

        Returns:
        the Id of this MBean.
        Throws:
        DIException - if an error occurs while obtaining MBean's Id.