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, InvocationHandler, EJBLocalObject
public final class EJBLocalObjectInvocationHandler
- extends EJBLocalObjectImpl
- implements InvocationHandler
Handler for EJBLocalObject invocations through EJBLocalObject proxy.
- Author:
- Kenneth Saks
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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 class EJBLocalObjectImpl
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- This entry point is only used for Local Home view.
- Specified by:
invoke in interface InvocationHandler
- Throws:
Throwable
Copyright © 2012 GlassFish Community. All Rights Reserved.