Package com.sun.ejb.containers
Class EJBLocalObjectInvocationHandler
java.lang.Object
com.sun.ejb.containers.EJBLocalRemoteObject
com.sun.ejb.containers.EJBLocalObjectImpl
com.sun.ejb.containers.EJBLocalObjectInvocationHandler
- All Implemented Interfaces:
com.sun.enterprise.container.common.spi.util.IndirectlySerializable,jakarta.ejb.EJBLocalObject,InvocationHandler
public final class EJBLocalObjectInvocationHandler
extends EJBLocalObjectImpl
implements InvocationHandler
Handler for EJBLocalObject invocations through EJBLocalObject proxy.
- Author:
- Kenneth Saks
-
Field Summary
Fields inherited from class com.sun.ejb.containers.EJBLocalRemoteObject
container, debug, primaryKey -
Constructor Summary
ConstructorsConstructorDescriptionEJBLocalObjectInvocationHandler(MethodMap invocationInfoMap, boolean optionalLocalBusinessView) Constructor used for Local Business view.EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap, Class<?> localIntf) Constructor used for Local Home view -
Method Summary
Methods inherited from class com.sun.ejb.containers.EJBLocalObjectImpl
getEJBLocalHome, getPrimaryKey, getSerializableObjectFactory, isIdentical, remove, toEJBLocalObjectImplMethods inherited from class com.sun.ejb.containers.EJBLocalRemoteObject
getContainer, getSfsbClientVersion, setSfsbClientVersion
-
Constructor Details
-
EJBLocalObjectInvocationHandler
public EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap, Class<?> localIntf) throws Exception Constructor used for Local Home view- Throws:
Exception
-
EJBLocalObjectInvocationHandler
public EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap, boolean optionalLocalBusinessView) throws Exception Constructor used for Local Business view.- Throws:
Exception
-
-
Method Details
-
setProxy
-
getClientObject
Description copied from class:EJBLocalObjectImplGet the client object corresponding to an EJBLocalObjectImpl. Users of this class cannot assume they can cast an EJBLocalObjectImpl to the object that the client uses, and vice-versa. This is overridden in the InvocationHandler. Only applicable for local home view.- Overrides:
getClientObjectin classEJBLocalObjectImpl
-
invoke
This entry point is only used for Local Home view.- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-