java.lang.Object | ||
↳ | javax.management.NotificationFilterSupport | |
↳ | javax.management.relation.MBeanServerNotificationFilter |
Filter for MBeanServerNotification
.
This filter filters MBeanServerNotification notifications by
selecting the ObjectNames of interest and the operations (registration,
unregistration, both) of interest (corresponding to notification
types).
The serialVersionUID of this class is 2605900539589789736L
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a filter selecting all MBeanServerNotification notifications for
all ObjectNames.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Disables any MBeanServerNotification (all ObjectNames are
deselected).
| |||||||||||
Disables MBeanServerNotifications concerning given ObjectName.
| |||||||||||
Enables all MBeanServerNotifications (all ObjectNames are selected).
| |||||||||||
Enables MBeanServerNotifications concerning given ObjectName.
| |||||||||||
Gets all the ObjectNames disabled.
| |||||||||||
Gets all the ObjectNames enabled.
| |||||||||||
Invoked before sending the specified notification to the listener.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.management.NotificationFilterSupport
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.management.NotificationFilter
|
Creates a filter selecting all MBeanServerNotification notifications for all ObjectNames.
Disables any MBeanServerNotification (all ObjectNames are deselected).
Disables MBeanServerNotifications concerning given ObjectName.
objectName | ObjectName no longer of interest |
---|
IllegalArgumentException | if the given ObjectName is null |
---|
Enables all MBeanServerNotifications (all ObjectNames are selected).
Enables MBeanServerNotifications concerning given ObjectName.
objectName | ObjectName of interest |
---|
IllegalArgumentException | if the given ObjectName is null |
---|
Gets all the ObjectNames disabled.
- null means all ObjectNames are implicitly deselected, except the ObjectNames explicitly selected
- empty means all ObjectNames are selected, i.e. no ObjectName deselected.
Gets all the ObjectNames enabled.
- null means all ObjectNames are implicitly selected, except the ObjectNames explicitly deselected
- empty means all ObjectNames are deselected, i.e. no ObjectName selected.
Invoked before sending the specified notification to the listener.
If:
- the ObjectName of the concerned MBean is selected (explicitly OR (implicitly and not explicitly deselected))
AND
- the type of the operation (registration or unregistration) is selected
then the notification is sent to the listener.
notif | The notification to be sent. |
---|
IllegalArgumentException | if null parameter |
---|