| |
|
| java.lang.Object javax.naming.Reference javax.naming.LinkRef
LinkRef | public class LinkRef extends Reference (Code) | | This is a type of Reference used to point to an address of
type "LinkAddress" where the address given is actually the string
representation of a valid Name .
See Also: Reference |
Constructor Summary | |
public | LinkRef(Name name) Constructs a LinkRef instance using the supplied
name
of Name representation. | public | LinkRef(String s) Constructs a LinkRef instance using the supplied
name
of String representation. |
Method Summary | |
public String | getLinkName() Gets the string representation of the name used as a link which cannot be
null. |
serialVersionUID | final static long serialVersionUID(Code) | | |
LinkRef | public LinkRef(Name name)(Code) | | Constructs a LinkRef instance using the supplied
name
of Name representation. The class name
is set to the name of this LinkRef class. The factory
class and location default to null. There is one address entry which has
"LinkAddress" as the address type and the string representation of the
supplied name as the address.
Parameters: name - the Name to be used as a link which cannot benull |
LinkRef | public LinkRef(String s)(Code) | | Constructs a LinkRef instance using the supplied
name
of String representation. The class
name is set to the name of this LinkRef class. The factory
class and location default to null. There is one address entry which has
"LinkAddress" as the address type and the string representation of the
supplied name as the address.
Parameters: s - the name to be used as a link which cannot be null |
getLinkName | public String getLinkName() throws NamingException(Code) | | Gets the string representation of the name used as a link which cannot be
null.
the string representation of the name used as a link throws: MalformedLinkException - If this is not a Reference with a class namewhich matches the name of this LinkRef class. throws: NamingException - If other NamingException is encountered. |
|
|
|