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

Class AttributeChangeNotification

  • All Implemented Interfaces:
    Serializable

    public class AttributeChangeNotification
    extends Notification
    Provides definitions of the attribute change notifications sent by MBeans.

    It's up to the MBean owning the attribute of interest to create and send attribute change notifications when the attribute change occurs. So the NotificationBroadcaster interface has to be implemented by any MBean for which an attribute change is of interest.

    Example: If an MBean called myMbean needs to notify registered listeners when its attribute:

    String myString
    is modified, myMbean creates and emits the following notification:
    new AttributeChangeNotification(myMbean, sequenceNumber, timeStamp, msg, "myString", "String", oldValue, newValue);
    Since:
    1.5
    See Also:
    Serialized Form
    • Field Detail

      • ATTRIBUTE_CHANGE

        public static final String ATTRIBUTE_CHANGE
        Notification type which indicates that the observed MBean attribute value has changed.
        The value of this type string is jmx.attribute.change.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AttributeChangeNotification

        public AttributeChangeNotification(Object source,
                                   long sequenceNumber,
                                   long timeStamp,
                                   String msg,
                                   String attributeName,
                                   String attributeType,
                                   Object oldValue,
                                   Object newValue)
        Constructs an attribute change notification object. In addition to the information common to all notification, the caller must supply the name and type of the attribute, as well as its old and new values.
        Parameters:
        source - The notification producer, that is, the MBean the attribute belongs to.
        sequenceNumber - The notification sequence number within the source object.
        timeStamp - The date at which the notification is being sent.
        msg - A String containing the message of the notification.
        attributeName - A String giving the name of the attribute.
        attributeType - A String containing the type of the attribute.
        oldValue - An object representing value of the attribute before the change.
        newValue - An object representing value of the attribute after the change.
    • Method Detail

      • getAttributeName

        public String getAttributeName()
        Gets the name of the attribute which has changed.
        Returns:
        A String containing the name of the attribute.
      • getAttributeType

        public String getAttributeType()
        Gets the type of the attribute which has changed.
        Returns:
        A String containing the type of the attribute.
      • getOldValue

        public Object getOldValue()
        Gets the old value of the attribute which has changed.
        Returns:
        An Object containing the old value of the attribute.
      • getNewValue

        public Object getNewValue()
        Gets the new value of the attribute which has changed.
        Returns:
        An Object containing the new value of the attribute.

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/AttributeChangeNotification.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