Name

RefAddr

Synopsis

This abstract class represents the address of a communications end point. It is used by Reference to represent the communication mechanism and address of a reference. Concrete implementations support addresses such as URLs, DNS names, and IP addresses.

                  
public abstract class RefAddr implements Serializable {
// Protected Constructors
   protected RefAddr( String addrType);  
// Public Instance Methods
   public abstract Object getContent();  
   public String getType();  
// Public Methods Overriding Object
   public boolean equals( Object obj);  
   public int hashCode();  
   public String toString();  
// Protected Instance Fields
   protected String addrType;  
}

Subclasses

BinaryRefAddr, StringRefAddr

Passed To

javax.naming.Reference.{add(), Reference()}

Returned By

javax.naming.Reference.get()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.