javax.naming

Class StringRefAddr

  • All Implemented Interfaces:
    Serializable

    public class StringRefAddr
    extends RefAddr
    This class represents the string form of the address of a communications end-point. It consists of a type that describes the communication mechanism and a string contents specific to that communication mechanism. The format and interpretation of the address type and the contents of the address are based on the agreement of three parties: the client that uses the address, the object/server that can be reached using the address, and the administrator or program that creates the address.

    An example of a string reference address is a host name. Another example of a string reference address is a URL.

    A string reference address is immutable: once created, it cannot be changed. Multithreaded access to a single StringRefAddr need not be synchronized.

    Since:
    1.3
    See Also:
    RefAddr, BinaryRefAddr, Serialized Form
    • Constructor Detail

      • StringRefAddr

        public StringRefAddr(String addrType,
                     String addr)
        Constructs a new instance of StringRefAddr using its address type and contents.
        Parameters:
        addrType - A non-null string describing the type of the address.
        addr - The possibly null contents of the address in the form of a string.
    • Method Detail

      • getContent

        public Object getContent()
        Retrieves the contents of this address. The result is a string.
        Specified by:
        getContent in class RefAddr
        Returns:
        The possibly null address contents.

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 30/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/naming/StringRefAddr.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, StringRefAddr

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut