org.objectweb.easybeans.rpc
Class EJBLocalHomeCallRef

java.lang.Object
  extended by org.objectweb.easybeans.rpc.AbsCallRef
      extended by org.objectweb.easybeans.rpc.LocalCallRef
          extended by org.objectweb.easybeans.rpc.EJBLocalHomeCallRef
All Implemented Interfaces:
javax.naming.Referenceable

public class EJBLocalHomeCallRef
extends LocalCallRef

Define the Referenceable objectd used by local EJB Home. This is the object that is bind in the registry.

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.objectweb.easybeans.rpc.LocalCallRef
EMBEDDED_ID
 
Fields inherited from class org.objectweb.easybeans.rpc.AbsCallRef
CONTAINER_ID, FACTORY_NAME, INTERFACE_NAME, USE_ID
 
Constructor Summary
EJBLocalHomeCallRef(java.lang.String itfClassName, java.lang.Integer embeddedID, java.lang.String containerId, java.lang.String factoryName, boolean useID)
          Constructor : build a reference.
 
Method Summary
protected  java.lang.String getFactoryClassName()
          Gets the name of the factory (can be used by subclasses to change the name).
 
Methods inherited from class org.objectweb.easybeans.rpc.LocalCallRef
getReference
 
Methods inherited from class org.objectweb.easybeans.rpc.AbsCallRef
getItfClassName, updateRefAddr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBLocalHomeCallRef

public EJBLocalHomeCallRef(java.lang.String itfClassName,
                           java.lang.Integer embeddedID,
                           java.lang.String containerId,
                           java.lang.String factoryName,
                           boolean useID)
Constructor : build a reference.

Parameters:
itfClassName - the name of the interface.
embeddedID - the ID of the embedded server.
containerId - the ID of the container.
factoryName - the name of the factory
useID - true if all instance build with this ref are unique (stateful), false if it references the same object (stateless)
Method Detail

getFactoryClassName

protected java.lang.String getFactoryClassName()
Gets the name of the factory (can be used by subclasses to change the name).

Overrides:
getFactoryClassName in class LocalCallRef
Returns:
the name of the factory used by this reference.