| java.lang.Object org.ow2.easybeans.proxy.factory.RemoteCallFactory org.ow2.easybeans.proxy.factory.EJBHomeCallFactory
EJBHomeCallFactory | public class EJBHomeCallFactory extends RemoteCallFactory (Code) | | Factory creating an EJB Remote Home proxy for remote calls.
author: Florent Benoit. |
buildRemoteHandler | protected ClientRPCInvocationHandler buildRemoteHandler(String containerID, String factoryName, boolean useID)(Code) | | Build an instance of a remote RPC handler. Can be used by subclasses to change the object.
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 remote 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. |
|
|