| |
|
| java.lang.Object com.caucho.j2ee.appclient.ClientEjbRef
ClientEjbRef | public class ClientEjbRef implements ObjectProxy(Code) | | Configuration for the ejb-ref.
An ejb-ref is used to make an ejb available within the environment
in which the ejb-ref is declared.
|
createObject | public Object createObject(Hashtable env) throws NamingException(Code) | | Creates the object from the proxy.
Parameters: env - the calling environment the object named by the proxy. |
getEjbRefName | public String getEjbRefName()(Code) | | Returns the ejb name.
|
getHome | public Class getHome()(Code) | | Returns the home class.
|
getRemote | public Class getRemote()(Code) | | Returns the remote class.
|
setDescription | public void setDescription(String description)(Code) | | |
setEjbLink | public void setEjbLink(String ejbLink)(Code) | | Set the target of the reference, an alternative to
ClientEjbRef.setJndiName(String) .
The format of the ejbLink is "bean", or "jarname#bean", where bean is the
ejb-name of a bean within the same enterprise application, and jarname
further qualifies the identity of the target.
|
setEjbRefName | public void setEjbRefName(String name)(Code) | | Sets the name to use in the local jndi context.
This is the jndi lookup name that code uses to obtain the home for
the bean when doing a jndi lookup.
ejb/Gryffindor
...
(new InitialContext()).lookup("java:comp/env/ejb/Gryffindor");
|
setJndiName | public void setJndiName(String jndiName)(Code) | | Sets the canonical jndi name to use to find the bean that
is the target of the reference.
For remote beans, a <jndi-link>
com.caucho.naming.LinkProxy is
used to link the local jndi context referred to in this name to
a remote context.
|
|
|
|