com.ibm.di.api.jmx.mbeans
Interface BaseMBean

All Known Subinterfaces:
AssemblyLineHandlerMBean, AssemblyLineMBean, BaseAdminMBean, ConfigInstanceMBean, DIServerMBean, NotifierMBean, ServerInfoMBean, SystemLogMBean, SystemQueueMBean, TDIPropertiesMBean, TombstoneManagerMBean
All Known Implementing Classes:
AssemblyLine, AssemblyLineHandler, BaseAdmin, ConfigInstance, DIServer, Notifier, SecurityRegistry, ServerInfo, SystemLog, SystemQueue, TDIProperties, TombstoneManager

public interface BaseMBean

Base MBean interface, that all MBeans from the management package inherit.


Method Summary
 String getId()
          Reads attribute "Id".
 String getType()
          Reads attribute "Type".
 

Method Detail

getType

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

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.