API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming. LinkRef View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.7 03/12/19
Serial
Hierarchy
 Object
      Reference
          LinkRef
Implements
Subclasses
Description
public class LinkRef
  This class represents a Reference whose contents is a name, called the link name, that is bound to an atomic name in a context.
Constructors
public LinkRef (Name linkName)
  Constructs a LinkRef for a name.
public LinkRef (String linkName)
  Constructs a LinkRef for a string name.
Methods
Hide/Show inherited methods
public void add (int posn, RefAddr addr) [Inherited From Reference]
  Adds an address to the list of addresses at index posn.
public void add (RefAddr addr) [Inherited From Reference]
  Adds an address to the end of the list of addresses.
public void clear () [Inherited From Reference]
Deletes all addresses from this reference.
public Object clone () [Inherited From Reference]
  Makes a copy of this reference using its class name list of addresses, class factory name and class factory location.
public boolean equals (Object obj) [Inherited From Reference]
  Determines whether obj is a reference with the same addresses (in same order) as this reference.
public RefAddr get (int posn) [Inherited From Reference]
  Retrieves the address at index posn.
public RefAddr get (String addrType) [Inherited From Reference]
  Retrieves the first address that has the address type 'addrType'.
public Enumeration<RefAddr> getAll () [Inherited From Reference]
  Retrieves an enumeration of the addresses in this reference.
public String getClassName () [Inherited From Reference]
  Retrieves the class name of the object to which this reference refers.
public String getFactoryClassLocation () [Inherited From Reference]
  Retrieves the location of the factory of the object to which this reference refers.
public String getFactoryClassName () [Inherited From Reference]
  Retrieves the class name of the factory of the object to which this reference refers.
public String getLinkName () throws NamingException
  Retrieves the name of this link.
public int hashCode () [Inherited From Reference]
  Computes the hash code of this reference.
public Object remove (int posn) [Inherited From Reference]
  Deletes the address at index posn from the list of addresses.
public int size () [Inherited From Reference]
  Retrieves the number of addresses in this reference.
public String toString () [Inherited From Reference]
  Generates the string representation of this reference.
Fields
Hide/Show inherited fields
protected Vector<RefAddr> addrs [Inherited From Reference]
  Contains the addresses contained in this Reference.
protected String classFactory [Inherited From Reference]
  Contains the name of the factory class for creating an instance of the object to which this Reference refers.
protected String classFactoryLocation [Inherited From Reference]
  Contains the location of the factory class.
protected String className [Inherited From Reference]
  Contains the fully-qualified name of the class of the object to which this Reference refers.
pack-privatefinalstatic String linkAddrType = "LinkAddress"
pack-privatefinalstatic String linkClassName
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar