com.sun.ejb.containers
Class EJBObjectInvocationHandler

java.lang.Object
  extended by com.sun.ejb.containers.EJBLocalRemoteObject
      extended by com.sun.ejb.containers.EJBObjectImpl
          extended by com.sun.ejb.containers.EJBObjectInvocationHandler
All Implemented Interfaces:
InvocationHandler, Remote, EJBObject

public final class EJBObjectInvocationHandler
extends EJBObjectImpl
implements InvocationHandler

Handler for EJBObject invocations through EJBObject proxy.

Author:
Kenneth Saks

Field Summary
 
Fields inherited from class com.sun.ejb.containers.EJBLocalRemoteObject
_logger, container, debug, primaryKey
 
Constructor Summary
EJBObjectInvocationHandler(MethodMap invocationInfoMap)
          Constructor used for Remote Business view.
EJBObjectInvocationHandler(MethodMap invocationInfoMap, Class remoteIntf)
          Constructor used for Remote Home view.
 
Method Summary
 Object invoke(Object proxy, Method method, Object[] args)
          This entry point is only used for the Remote Home view.
 
Methods inherited from class com.sun.ejb.containers.EJBObjectImpl
getEJBHome, getEJBObject, getEJBObject, getHandle, getPrimaryKey, getStub, getStub, isIdentical, remove, setEJBObject, setEJBObject
 
Methods inherited from class com.sun.ejb.containers.EJBLocalRemoteObject
getContainer, getSfsbClientVersion, setSfsbClientVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBObjectInvocationHandler

public EJBObjectInvocationHandler(MethodMap invocationInfoMap,
                                  Class remoteIntf)
                           throws Exception
Constructor used for Remote Home view.

Throws:
Exception

EJBObjectInvocationHandler

public EJBObjectInvocationHandler(MethodMap invocationInfoMap)
                           throws Exception
Constructor used for Remote Business view.

Throws:
Exception
Method Detail

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
This entry point is only used for the Remote Home view.

Specified by:
invoke in interface InvocationHandler
Throws:
Throwable


Copyright © 2012 GlassFish Community. All Rights Reserved.