Top Description Methods
javax.management

public Interface NotificationListener

extends EventListener
Known Direct Implementers
javax.management.relation.RelationService, com.sun.jmx.remote.internal.ArrayNotificationBuffer.BufferListener, com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.ListenerWrapper

Should be implemented by an object that wants to receive notifications.
Since
1.5

Method Summary

Modifier and TypeMethod and Description
public void
handleNotification(Notification
The notification.
notification
,
Object
An opaque object which helps the listener to associate information regarding the MBean emitter. This object is passed to the addNotificationListener call and resent, without modification, to the listener.
handback
)

Invoked when a JMX notification occurs.

Method Detail

handleNotificationback to summary
public void handleNotification(Notification notification, Object handback)

Invoked when a JMX notification occurs. The implementation of this method should return as soon as possible, to avoid blocking its notification broadcaster.

Parameters
notification:Notification

The notification.

handback:Object

An opaque object which helps the listener to associate information regarding the MBean emitter. This object is passed to the addNotificationListener call and resent, without modification, to the listener.