com.ibm.di.api.jmx.mbeans
Class Notifier
java.lang.Object
javax.management.NotificationBroadcasterSupport
com.ibm.di.api.jmx.mbeans.Notifier
All Implemented Interfaces: BaseMBean , NotifierMBean , javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
public class Notifier extends javax.management.NotificationBroadcasterSupportimplements NotifierMBean
Methods inherited from class javax.management.NotificationBroadcasterSupport
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
MBEAN_TYPE
public static final String MBEAN_TYPE
See Also: Constant Field Values
MBEAN_ID
public static final String MBEAN_ID
See Also: Constant Field Values
EVT_CI_START
public static final String EVT_CI_START
See Also: Constant Field Values
EVT_CI_STOP
public static final String EVT_CI_STOP
See Also: Constant Field Values
EVT_CI_UPDATED
public static final String EVT_CI_UPDATED
See Also: Constant Field Values
EVT_AL_START
public static final String EVT_AL_START
See Also: Constant Field Values
EVT_AL_STOP
public static final String EVT_AL_STOP
See Also: Constant Field Values
EVT_EH_START
public static final String EVT_EH_START
See Also: Constant Field Values
EVT_EH_STOP
public static final String EVT_EH_STOP
See Also: Constant Field Values
EVT_SRV_STOP
public static final String EVT_SRV_STOP
See Also: Constant Field Values
TYPE_ALL
public static final String TYPE_ALL
See Also: Constant Field Values
TYPE_CONFIG_INSTANCE
public static final String TYPE_CONFIG_INSTANCE
See Also: Constant Field Values
TYPE_ASSEMBLY_LINE
public static final String TYPE_ASSEMBLY_LINE
See Also: Constant Field Values
TYPE_EVENT_HANDLER
public static final String TYPE_EVENT_HANDLER
See Also: Constant Field Values
init
public static Notifier init ()
throws DIException
Throws:
DIException
getNotifier
public static Notifier getNotifier ()
throws DIException
Throws:
DIException
getObjectName
public javax.management.ObjectName getObjectName ()
isEnabled
public boolean isEnabled ()
enable
public void enable ()
disable
public void disable ()
assemblyLineStarted
public void assemblyLineStarted (String aAssemblyLineId)
assemblyLineFinished
public void assemblyLineFinished (String aAssemblyLineId)
eventHandlerStarted
public void eventHandlerStarted (String aEventHandlerId)
eventHandlerFinished
public void eventHandlerFinished (String aEventHandlerId)
configInstanceStarted
public void configInstanceStarted (String aConfigId)
configInstanceStopped
public void configInstanceStopped (String aConfigId)
configInstanceUpdated
public void configInstanceUpdated (String aConfigId)
serverStopped
public void serverStopped (Date aBootTime)
sendCustomNotification
public void sendCustomNotification (String aType,
String aId,
Object aData)
getType
public String getType ()
Description copied from interface: BaseMBean
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".
Specified by: getType
in interface BaseMBean
Returns: the type of this MBean.
getId
public String getId ()
Description copied from interface: BaseMBean
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".
Specified by: getId
in interface BaseMBean
Returns: the Id of this MBean.
getKeyPropertyList
public String getKeyPropertyList ()
sendNotification
public void sendNotification (javax.management.Notification aNotification)
Overrides: sendNotification
in class javax.management.NotificationBroadcasterSupport