Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code LNG204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.
javax.management.relation

Class MBeanServerNotificationFilter

  • All Implemented Interfaces:
    Serializable, NotificationFilter

    public class MBeanServerNotificationFilter
    extends NotificationFilterSupport
    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.

    Since:
    1.5
    See Also:
    Serialized Form
    • Constructor Detail

      • MBeanServerNotificationFilter

        public MBeanServerNotificationFilter()
        Creates a filter selecting all MBeanServerNotification notifications for all ObjectNames.
    • Method Detail

      • disableAllObjectNames

        public void disableAllObjectNames()
        Disables any MBeanServerNotification (all ObjectNames are deselected).
      • disableObjectName

        public void disableObjectName(ObjectName objectName)
                               throws IllegalArgumentException
        Disables MBeanServerNotifications concerning given ObjectName.
        Parameters:
        objectName - ObjectName no longer of interest
        Throws:
        IllegalArgumentException - if the given ObjectName is null
      • enableAllObjectNames

        public void enableAllObjectNames()
        Enables all MBeanServerNotifications (all ObjectNames are selected).
      • getEnabledObjectNames

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

      • getDisabledObjectNames

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

      • isNotificationEnabled

        public 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.

        Specified by:
        isNotificationEnabled in interface NotificationFilter
        Overrides:
        isNotificationEnabled in class NotificationFilterSupport
        Parameters:
        notif - The notification to be sent.
        Returns:
        true if the notification has to be sent to the listener, false otherwise.
        Throws:
        IllegalArgumentException - if null parameter

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 11/06/2005 gemaakt, de laatste keer de 04/03/2020 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/java-api-rf-javax/management/relation/MBeanServerNotificationFilter.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:fr Manuel PHP : https://docs.oracle.com

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut