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.
| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private List | |
| private static final ObjectStreamField[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | MBeanServerNotificationFilter()
Creates a filter selecting all MBeanServerNotification notifications for all ObjectNames. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized void | disableObjectName(ObjectName
ObjectName no longer of interest objectName)Disables MBeanServerNotifications concerning given ObjectName. |
| public synchronized void | |
| public synchronized void | enableObjectName(ObjectName
ObjectName of interest objectName)Enables MBeanServerNotifications concerning given ObjectName. |
| public synchronized Vector | Returns: Vector of ObjectNames:- 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 disabled. |
| public synchronized Vector | Returns: Vector of ObjectNames:- null means all ObjectNames are implicitly selected, except the ObjectNames explicitly deselected - empty means all ObjectNames are deselected, i.e. no ObjectName selected. Gets all the ObjectNames enabled. |
| public synchronized boolean | Returns: true if the notification has to be sent to the listener, false otherwise.The notification to be sent. notif)Overrides javax. Implements javax. Invoked before sending the specified notification to the listener. |
| private void | readObject(ObjectInputStream in)
Deserializes an |
| private void | writeObject(ObjectOutputStream out)
Serializes an |
| deselectedNames | back to summary |
|---|---|
| private List<ObjectName> deselectedNames | |
| selectedNames | back to summary |
|---|---|
| private List<ObjectName> selectedNames | |
| serialPersistentFields | back to summary |
|---|---|
private static final ObjectStreamField[] serialPersistentFields
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides javax. | |
| MBeanServerNotificationFilter | back to summary |
|---|---|
| public MBeanServerNotificationFilter() Creates a filter selecting all MBeanServerNotification notifications for all ObjectNames. | |
| disableAllObjectNames | back to summary |
|---|---|
| public synchronized void disableAllObjectNames() Disables any MBeanServerNotification (all ObjectNames are deselected). | |
| disableObjectName | back to summary |
|---|---|
| public synchronized void disableObjectName(ObjectName objectName) throws IllegalArgumentException Disables MBeanServerNotifications concerning given ObjectName.
| |
| enableAllObjectNames | back to summary |
|---|---|
| public synchronized void enableAllObjectNames() Enables all MBeanServerNotifications (all ObjectNames are selected). | |
| enableObjectName | back to summary |
|---|---|
| public synchronized void enableObjectName(ObjectName objectName) throws IllegalArgumentException Enables MBeanServerNotifications concerning given ObjectName.
| |
| getDisabledObjectNames | back to summary |
|---|---|
| public synchronized Vector Gets all the ObjectNames disabled.
| |
| getEnabledObjectNames | back to summary |
|---|---|
| public synchronized Vector Gets all the ObjectNames enabled.
| |
| isNotificationEnabled | back to summary |
|---|---|
| public synchronized boolean isNotificationEnabled(Notification notif) throws IllegalArgumentException Overrides javax. Implements javax. 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.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException Deserializes an | |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream out) throws IOException Serializes an | |