org.objectweb.easybeans.rpc
Class EJBHomeCallRef
java.lang.Object
org.objectweb.easybeans.rpc.AbsCallRef
org.objectweb.easybeans.rpc.RemoteCallRef
org.objectweb.easybeans.rpc.EJBHomeCallRef
- All Implemented Interfaces:
- javax.naming.Referenceable
public class EJBHomeCallRef
- extends RemoteCallRef
Defines the Referenceable objectd used by EJB Home.
This is the object that is bind in the registry.
- Author:
- Florent Benoit
Field Summary |
static java.lang.String |
REMOTE_INTERFACE
Property used for referencing the remote interface class name. |
private java.lang.String |
remoteInterface
Name of the remote interface. |
Constructor Summary |
EJBHomeCallRef(java.lang.String itfClassName,
java.lang.String containerId,
java.lang.String factoryName,
boolean useID,
java.lang.String remoteInterface)
Constructor : build a reference. |
Method Summary |
protected java.lang.String |
getFactoryClassName()
Use the EJB Home factory. |
protected void |
updateRefAddr(javax.naming.Reference reference)
Adds some settings to the reference. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOTE_INTERFACE
public static final java.lang.String REMOTE_INTERFACE
- Property used for referencing the remote interface class name.
- See Also:
- Constant Field Values
remoteInterface
private java.lang.String remoteInterface
- Name of the remote interface.
EJBHomeCallRef
public EJBHomeCallRef(java.lang.String itfClassName,
java.lang.String containerId,
java.lang.String factoryName,
boolean useID,
java.lang.String remoteInterface)
- Constructor : build a reference.
- Parameters:
itfClassName
- the name of the interface.containerId
- the ID of the container.factoryName
- the name of the factoryuseID
- true if all instance build with this ref are unique
(stateful), false if it references the same object (stateless)remoteInterface
- the name of the remote interface
getFactoryClassName
protected java.lang.String getFactoryClassName()
- Use the EJB Home factory.
- Overrides:
getFactoryClassName
in class RemoteCallRef
- Returns:
- the name of the factory used by this reference.
updateRefAddr
protected void updateRefAddr(javax.naming.Reference reference)
- Adds some settings to the reference.
- Overrides:
updateRefAddr
in class AbsCallRef
- Parameters:
reference
- the reference to configure