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, java.lang.reflect.InvocationHandler, EJBLocalObject
public final class EJBLocalObjectInvocationHandler
- extends EJBLocalObjectImpl
- implements java.lang.reflect.InvocationHandler
Handler for EJBLocalObject invocations through EJBLocalObject proxy.
- Author:
- Kenneth Saks
|
Method Summary |
java.lang.Object |
getClientObject()
Get the client object corresponding to an EJBLocalObjectImpl. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
This entry point is only used for Local Home view. |
void |
setProxy(java.lang.Object proxy)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EJBLocalObjectInvocationHandler
public EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap,
java.lang.Class localIntf)
throws java.lang.Exception
- Constructor used for Local Home view
- Throws:
java.lang.Exception
EJBLocalObjectInvocationHandler
public EJBLocalObjectInvocationHandler(MethodMap invocationInfoMap,
boolean optionalLocalBusinessView)
throws java.lang.Exception
- Constructor used for Local Business view.
- Throws:
java.lang.Exception
setProxy
public void setProxy(java.lang.Object proxy)
getClientObject
public java.lang.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 java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
- This entry point is only used for Local Home view.
- Specified by:
invoke in interface java.lang.reflect.InvocationHandler
- Throws:
java.lang.Throwable
Copyright © 2012 GlassFish Community. All Rights Reserved.