| com.sun.jbi.framework.EventNotifierCommon
All known Subclasses: com.sun.jbi.framework.EventNotifier,
EventNotifierCommon | public interface EventNotifierCommon extends EventNotifierBase(Code) | | This interface defines the methods that are used to emit notifications for
events affecting the state of JBI runtime. Methods are provided for emitting
notifications for all applicable events in the runtime, such as startup and
shutdown of the runtime, installation or uninstallation of a component or
shared library, deployment or undeployment of a service assembly or service
unit, and all life cycle operations on components, service assemblies, and
service units.
This interface is implemented by the EventNotifier MBean in the runtime.
author: Mark S White |
Method Summary | |
Notification | emitComponentNotification(EventType eventType, SourceType sourceType, String componentName, String msg) This method is called to emit a notification for an event on either a
binding component or a service engine. | Notification | emitRuntimeNotification(EventType eventType, String msg) This method is called to emit a notification for an event on the JBI
runtime. | Notification | emitServiceAssemblyNotification(EventType eventType, String serviceAssemblyName, String msg) This method is called to emit a notification for an event on a service
assembly. | Notification | emitServiceUnitNotification(EventType eventType, String serviceUnitName, String serviceAssemblyName, String componentName, String msg) This method is called to emit a notification for an event on a service
unit. | Notification | emitSharedLibraryNotification(EventType eventType, String sharedLibraryName, String msg) This method is called to emit a notification for an event on a shared
library. |
emitComponentNotification | Notification emitComponentNotification(EventType eventType, SourceType sourceType, String componentName, String msg)(Code) | | This method is called to emit a notification for an event on either a
binding component or a service engine. The caller provides information
that determines the content of the notification. The event type for a
component notification can be Installed, Uninstalled, Started, Stopped,
or ShutDown. The source type is either BindingComponent or ServiceEngine.
Parameters: eventType - the type of event that occurred. Parameters: sourceType - the type of component on which the event occurred. Parameters: componentName - the name of the component on which the eventoccurred. Parameters: msg - a message associated with the event. the actual Notification sent. |
emitRuntimeNotification | Notification emitRuntimeNotification(EventType eventType, String msg)(Code) | | This method is called to emit a notification for an event on the JBI
runtime. The caller provides information that determines the content of
the notification. The event type for a JBI runtime notification can be
Ready, Started, or Stopped. The source type is always JBIRuntime.
Parameters: eventType - the type of event that occurred. Parameters: msg - a message associated with the event. the actual Notification sent. |
emitServiceAssemblyNotification | Notification emitServiceAssemblyNotification(EventType eventType, String serviceAssemblyName, String msg)(Code) | | This method is called to emit a notification for an event on a service
assembly. The caller provides information that determines the content
of the notification. The event type for a service assembly notification
can be Deployed, Undeployed, Started, Stopped, or ShutDown. The source
type is always ServiceAssembly.
Parameters: eventType - the type of event that occurred. Parameters: serviceAssemblyName - the name of the service assembly on which theevent occurred. Parameters: msg - a message associated with the event. the actual Notification sent. |
emitServiceUnitNotification | Notification emitServiceUnitNotification(EventType eventType, String serviceUnitName, String serviceAssemblyName, String componentName, String msg)(Code) | | This method is called to emit a notification for an event on a service
unit. The caller provides information that determines the content of the
notification. The event type for a service unit notification can be
Deployed, Undeployed, Started, Stopped, or ShutDown. The source type is
always ServiceUnit.
Parameters: eventType - the type of event that occurred. Parameters: serviceUnitName - the name of the service unit on which the eventoccurred. Parameters: serviceAssemblyName - the name of the service assembly to which theservice unit belongs. Parameters: componentName - the name of the component to which the service unitis deployed. Parameters: msg - a message associated with the event. the actual Notification sent. |
emitSharedLibraryNotification | Notification emitSharedLibraryNotification(EventType eventType, String sharedLibraryName, String msg)(Code) | | This method is called to emit a notification for an event on a shared
library. The caller provides information that determines the content of
the notification. The event type for a shared library notification can be
either Installed or Uninstalled. The source type is always SharedLibrary.
Parameters: eventType - the type of event that occurred. Parameters: sharedLibraryName - the name of the shared library on which theevent occurred. Parameters: msg - a message associated with the event. the actual Notification sent. |
|
|