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

Class RefAddr

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    BinaryRefAddr, StringRefAddr

    public abstract class RefAddr
    extends Object
    implements Serializable
    This class represents the address of a communications end-point. It consists of a type that describes the communication mechanism and an address contents determined by an RefAddr subclass.

    For example, an address type could be "BSD Printer Address", which specifies that it is an address to be used with the BSD printing protocol. Its contents could be the machine name identifying the location of the printer server that understands this protocol.

    A RefAddr is contained within a Reference.

    RefAddr is an abstract class. Concrete implementations of it determine its synchronization properties.

    Since:
    1.3
    See Also:
    Reference, LinkRef, StringRefAddr, BinaryRefAddr, Serialized Form
    • Field Detail

      • addrType

        protected String addrType
        Contains the type of this address.
    • Constructor Detail

      • RefAddr

        protected RefAddr(String addrType)
        Constructs a new instance of RefAddr using its address type.
        Parameters:
        addrType - A non-null string describing the type of the address.
    • Method Detail

      • getType

        public String getType()
        Retrieves the address type of this address.
        Returns:
        The non-null address type of this address.
      • getContent

        public abstract Object getContent()
        Retrieves the contents of this address.
        Returns:
        The possibly null address contents.
      • equals

        public boolean equals(Object obj)
        Determines whether obj is equal to this RefAddr.

        obj is equal to this RefAddr all of these conditions are true

          non-null
        • instance of RefAddr
        • obj has the same address type as this RefAddr (using String.compareTo())
        • both obj and this RefAddr's contents are null or they are equal (using the equals() test).
        Overrides:
        equals in class Object
        Parameters:
        obj - possibly null obj to check.
        Returns:
        true if obj is equal to this refaddr; false otherwise.
        See Also:
        getContent(), getType()
      • hashCode

        public int hashCode()
        Computes the hash code of this address using its address type and contents. The hash code is the sum of the hash code of the address type and the hash code of the address contents.
        Overrides:
        hashCode in class Object
        Returns:
        The hash code of this address as an int.
        See Also:
        Object.hashCode()
      • toString

        public String toString()
        Generates the string representation of this address. The string consists of the address's type and contents with labels. This representation is intended for display only and not to be parsed.
        Overrides:
        toString in class Object
        Returns:
        The non-null string representation of this address.

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/naming/refaddr.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