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:
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
Constructors Constructor Description EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap, boolean optionalLocalBusinessView)
Constructor used for Local Business view.EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap, Class localIntf)
Constructor used for Local Home view
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getClientObject()
Get the client object corresponding to an EJBLocalObjectImpl.Object
invoke(Object proxy, Method method, Object[] args)
This entry point is only used for Local Home view.void
setProxy(Object proxy)
-
Methods inherited from class com.sun.ejb.containers.EJBLocalObjectImpl
getEJBLocalHome, getPrimaryKey, getSerializableObjectFactory, isIdentical, remove, toEJBLocalObjectImpl
-
Methods inherited from class com.sun.ejb.containers.EJBLocalRemoteObject
getContainer, getSfsbClientVersion, setSfsbClientVersion
-
-
-
-
Method Detail
-
setProxy
public void setProxy(Object proxy)
-
getClientObject
public Object getClientObject()
Description copied from class:EJBLocalObjectImpl
Get 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:
getClientObject
in classEJBLocalObjectImpl
-
-