public interface EventNotifierMBean extends NotificationEmitter
| Modifier and Type | Method and Description |
|---|---|
boolean |
disableNotifications()
This method is called to disable event notifications.
|
boolean |
enableNotifications()
This method is called to enable event notifications.
|
boolean |
instanceStarted(String instanceName,
ObjectName objectName)
This method is called to inform the DAS that an instance has started
and it needs to register itself as a notification listener for the
event notifier MBean on that instance.
|
boolean |
instanceStopped(String instanceName,
ObjectName objectName)
This method is called to inform the DAS that an instance has stopped
and it needs to unregister itself as a notification listener for the
event notifier MBean on that instance.
|
removeNotificationListeneraddNotificationListener, getNotificationInfo, removeNotificationListenerboolean disableNotifications()
boolean enableNotifications()
boolean instanceStarted(String instanceName, ObjectName objectName)
instanceName - the name of the instance that has started.objectName - the JMX object name of the event notifier MBean for
the instance.boolean instanceStopped(String instanceName, ObjectName objectName)
instanceName - the name of the instance that has stopped.objectName - the JMX object name of the event notifier MBean for
the instance.Copyright © 2011-2016 OpenESB Community. All Rights Reserved.