| java.lang.Object org.ow2.easybeans.proxy.factory.LocalCallFactory
All known Subclasses: org.ow2.easybeans.proxy.factory.EJBLocalHomeCallFactory,
LocalCallFactory | public class LocalCallFactory implements ObjectFactory(Code) | | Factory creating an EJB proxy for local calls.
author: Florent Benoit. |
buildLocalHandler | protected LocalCallInvocationHandler buildLocalHandler(Integer embeddedID, String containerId, String factoryName, boolean useID)(Code) | | Build a new Invocation handler.
Parameters: embeddedID - the Embedded server ID. Parameters: containerId - the id of the container that will be called on theremote side. Parameters: factoryName - the name of the remote factory. Parameters: useID - true if all instance build with this ref are unique(stateful), false if it references the same object (stateless) an instance of a local handler |
getObjectInstance | public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable, ?> environment) throws Exception(Code) | | an instance of a proxy (an EJB) that handle local calls. Parameters: obj - the reference containing data to build instance Parameters: name - Name of context, relative to ctx, or null. Parameters: nameCtx - Context relative to which 'name' is named. Parameters: environment - Environment to use when creating the context * throws: Exception - if this object factory encountered an exception whileattempting to create an object, and no other object factories areto be tried. |
|
|