Get the from name of the alias. This is the location where the
LinkRef is bound under JNDI.
Returns:
the location of the LinkRef
setFromName
public void setFromName(java.lang.String name)
throws javax.naming.NamingException
Set the from name of the alias. This is the location where the
LinkRef is bound under JNDI.
Parameters:
name, - the location where the LinkRef will be bound
getToName
public java.lang.String getToName()
Get the to name of the alias. This is the target name to
which the LinkRef refers. The name is a URL, or a name to be resolved
relative to the initial context, or if the first character of the name
is ".", the name is relative to the context in which the link is bound.
Returns:
the target JNDI name of the alias.
setToName
public void setToName(java.lang.String name)
throws javax.naming.NamingException
Set the to name of the alias. This is the target name to
which the LinkRef refers. The name is a URL, or a name to be resolved
relative to the initial context, or if the first character of the name
is ".", the name is relative to the context in which the link is bound.