Points to Remember
- Any type of MBean, standard, dynamic or model or
a non-MBean class can be either a notification broadcaster, a notification
listener, or both at the same time.
- For an MBean or Java class to be a notification broadcaster,
it should implement the NotificationBroadcaster interface. Easier approach
is to extend NotificationBroadcasterSupport.
- For an MBean or Java class to be a notification listener,
it should implement the NotificationListener interface. For receiving
notification, it should be registered as one of the listeners with the notification
broadcaster.
- Notification can be filtered by passing a NotificationFilter
object while invoking the addNotificationListener method.
- Notification filtering can be based on notification
type, or notification message, or any other thing depending on how the NotificationFilter
is implemented.
- Conversion of a notification into protocol-specific
implementation, such as SNMP Trap, is the responsibility of the protocol adaptors.
|
|
|