| org.jboss.naming.NamingAlias
NamingAlias | public class NamingAlias extends ServiceMBeanSupport implements NamingAliasMBean(Code) | | A simple utility mbean that allows one to create an alias in
the form of a LinkRef from one JNDI name to another.
author: Scott Stark. version: $Revision: 57209 $ |
NamingAlias | public NamingAlias()(Code) | | |
getFromName | public String getFromName()(Code) | | Get the from name of the alias. This is the location where the
LinkRef is bound under JNDI.
the location of the LinkRef |
getToName | public String getToName()(Code) | | 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.
the target JNDI name of the alias. |
setFromName | public void setFromName(String name) throws NamingException(Code) | | Set the from name of the alias. This is the location where the
LinkRef is bound under JNDI.
name, the location where the LinkRef will be bound |
setToName | public void setToName(String name) throws NamingException(Code) | | 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.
name, the target JNDI name of the alias. |
|
|