| |
|
| java.lang.Object com.caucho.config.types.BaseRef com.caucho.config.types.EjbRef
All known Subclasses: com.caucho.config.types.EjbLocalRef,
EjbRef | public class EjbRef extends BaseRef 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.
|
EjbRef | public EjbRef(Path modulePath)(Code) | | |
EjbRef | public EjbRef(Path modulePath, String sourceEjbName)(Code) | | |
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.
|
isEjbLocalRef | public boolean isEjbLocalRef()(Code) | | |
mergeFrom | public void mergeFrom(EjbRef other)(Code) | | Merges duplicated information in application-client.xml / resin-application-client.xml
|
setClientClassName | public void setClientClassName(String clientClassName)(Code) | | |
setConfigLocation | public void setConfigLocation(String loc)(Code) | | |
setDescription | public void setDescription(String description)(Code) | | |
setEjbLink | public void setEjbLink(String ejbLink)(Code) | | Set the target of the reference, an alternative to
EjbRef.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");
|
setForeignName | public void setForeignName(String foreignName)(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.
|
setInjectionTarget | public void setInjectionTarget(InjectionTarget injectionTarget)(Code) | | Sets the injection-target
|
|
|
|