Class: javax.management.relation.MBeanServerNotificationFilter

Filter for javax.management.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.

Since:
@since 1.5

Inheritance

Superclass tree: Implements:

Methods

  • MBeanServerNotificationFiltertop

    public MBeanServerNotificationFilter()
    Creates a filter selecting all MBeanServerNotification notifications for all ObjectNames.
    Google Code Search
    Stack Overflow
  • disableAllObjectNamestop

    public synchronized void disableAllObjectNames()
    Disables any MBeanServerNotification (all ObjectNames are deselected).
    Google Code Search
    Stack Overflow
  • disableObjectNametop

    public synchronized void disableObjectName(ObjectName objectName) throws IllegalArgumentException
    Disables MBeanServerNotifications concerning given ObjectName.
    Parameters:
    @param objectName ObjectName no longer of interest
    Exceptions:
    @exception IllegalArgumentException if the given ObjectName is null
    Google Code Search
    Stack Overflow
  • enableAllObjectNamestop

    public synchronized void enableAllObjectNames()
    Enables all MBeanServerNotifications (all ObjectNames are selected).
    Google Code Search
    Stack Overflow
  • enableObjectNametop

    public synchronized void enableObjectName(ObjectName objectName) throws IllegalArgumentException
    Enables MBeanServerNotifications concerning given ObjectName.
    Parameters:
    @param objectName ObjectName of interest
    Exceptions:
    @exception IllegalArgumentException if the given ObjectName is null
    Google Code Search
    Stack Overflow
  • getDisabledObjectNamestop

    public synchronized Vector<ObjectName> getDisabledObjectNames()
    Gets all the ObjectNames disabled.
    Return:
    @return 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.

    Google Code Search
    Stack Overflow
  • getEnabledObjectNamestop

    public synchronized Vector<ObjectName> getEnabledObjectNames()
    Gets all the ObjectNames enabled.
    Return:
    @return 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.

    Google Code Search
    Stack Overflow
  • isNotificationEnabledtop

    public synchronized boolean isNotificationEnabled(Notification notif) throws IllegalArgumentException
    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.

    Parameters:
    @param notif The notification to be sent.
    Return:
    @return true if the notification has to be sent to the listener, false otherwise.
    Exceptions:
    @exception IllegalArgumentException if null parameter
    Google Code Search
    Stack Overflow