This interface allows to control remote access to the
addNotificationListener and removeNotificationListener
methods when the notification listener parameter is of type
NotificationListener and also allows to control remote access
to the notifications being forwarded to the interested remote listeners.
An implementation of this interface can be supplied to a
JMXConnectorServer in the environment map through the
com.sun.jmx.remote.notification.access.controller
environment map property.
| Modifier and Type | Method and Description |
|---|---|
| public void | addNotificationListener(String
the connectionId, ObjectName connectionId of the remote client
adding the listener.the name of the MBean where the listener is to be added. name, Subject the authenticated subject representing the remote client. subject)This method is called when a remote
|
| public void | fetchNotification(String
the connectionId, ObjectName connectionId of the remote client
receiving the notification.the name of the MBean forwarding the notification. name, Notification the notification to be forwarded to the interested
remote listener. notification, Subject the authenticated subject representing the remote client. subject)This method is called before the
|
| public void | removeNotificationListener(String
the connectionId, ObjectName connectionId of the remote client
removing the listener.the name of the MBean where the listener is to be removed. name, Subject the authenticated subject representing the remote client. subject)This method is called when a remote
|
| addNotificationListener | back to summary |
|---|---|
| public void addNotificationListener(String connectionId, ObjectName name, Subject subject) throws SecurityException This method is called when a remote
| |
| fetchNotification | back to summary |
|---|---|
| public void fetchNotification(String connectionId, ObjectName name, Notification notification, Subject subject) throws SecurityException This method is called before the
| |
| removeNotificationListener | back to summary |
|---|---|
| public void removeNotificationListener(String connectionId, ObjectName name, Subject subject) throws SecurityException This method is called when a remote
| |