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.
java.rmi.activation

Class ActivationID

  • All Implemented Interfaces:
    Serializable

    public class ActivationID
    extends Object
    implements Serializable
    Activation makes use of special identifiers to denote remote objects that can be activated over time. An activation identifier (an instance of the class ActivationID) contains several pieces of information needed for activating an object:
    • a remote reference to the object's activator (a RemoteRef instance), and
    • a unique identifier (a UID instance) for the object.

    An activation identifier for an object can be obtained by registering an object with the activation system. Registration is accomplished in a few ways:

    • via the Activatable.register method
    • via the first Activatable constructor (that takes three arguments and both registers and exports the object, and
    • via the first Activatable.exportObject method that takes the activation descriptor, object and port as arguments; this method both registers and exports the object.
    Since:
    1.2
    See Also:
    Activatable, Serialized Form
    • Constructor Detail

      • ActivationID

        public ActivationID(Activator activator)
        The constructor for ActivationID takes a single argument, activator, that specifies a remote reference to the activator responsible for activating the object associated with this identifier. An instance of ActivationID is globally unique.
        Parameters:
        activator - reference to the activator responsible for activating the object
        Since:
        1.2
    • Method Detail

      • hashCode

        public int hashCode()
        Returns a hashcode for the activation id. Two identifiers that refer to the same remote object will have the same hash code.
        Overrides:
        hashCode in class Object
        Returns:
        a hash code value for this object.
        Since:
        1.2
        See Also:
        Hashtable
      • equals

        public boolean equals(Object obj)
        Compares two activation ids for content equality. Returns true if both of the following conditions are true: 1) the unique identifiers equivalent (by content), and 2) the activator specified in each identifier refers to the same remote object.
        Overrides:
        equals in class Object
        Parameters:
        obj - the Object to compare with
        Returns:
        true if these Objects are equal; false otherwise.
        Since:
        1.2
        See Also:
        Hashtable

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-java/rmi/activation/activationid.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