org.objectweb.easybeans.rpc
Class EJBLocalHomeCallFactory

java.lang.Object
  extended by org.objectweb.easybeans.rpc.LocalCallFactory
      extended by org.objectweb.easybeans.rpc.EJBLocalHomeCallFactory
All Implemented Interfaces:
javax.naming.spi.ObjectFactory

public class EJBLocalHomeCallFactory
extends LocalCallFactory

Factory creating an EJB proxy for EJB local home calls.

Author:
Florent Benoit.

Constructor Summary
EJBLocalHomeCallFactory()
           
 
Method Summary
protected  LocalCallInvocationHandler buildLocalHandler(java.lang.Integer embeddedID, java.lang.String containerId, java.lang.String factoryName, boolean useID)
          Build a new Invocation handler.
 
Methods inherited from class org.objectweb.easybeans.rpc.LocalCallFactory
getObjectInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBLocalHomeCallFactory

public EJBLocalHomeCallFactory()
Method Detail

buildLocalHandler

protected LocalCallInvocationHandler buildLocalHandler(java.lang.Integer embeddedID,
                                                       java.lang.String containerId,
                                                       java.lang.String factoryName,
                                                       boolean useID)
Build a new Invocation handler.

Overrides:
buildLocalHandler in class LocalCallFactory
Parameters:
embeddedID - the Embedded server ID.
containerId - the id of the container that will be called on the remote side.
factoryName - the name of the remote factory.
useID - true if all instance build with this ref are unique (stateful), false if it references the same object (stateless)
Returns:
an instance of a local handler