Class EJBLocalObjectInvocationHandlerDelegate

java.lang.Object
com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
All Implemented Interfaces:
com.sun.enterprise.container.common.spi.util.IndirectlySerializable, InvocationHandler

public class EJBLocalObjectInvocationHandlerDelegate extends Object implements InvocationHandler, com.sun.enterprise.container.common.spi.util.IndirectlySerializable
This class is used as a "proxy" or adapter between the business interface proxy and the EJBLocalObjectInvocationHandler. An instance of this class is created for each business interface of a bean. All java.lang.Object methods and methods of IndirectlySerializable are handled by this InvocationHandler itself while the business interface methods are delegated to the delegate (which is the EJBLocalObjectInvocationHandler).
Author:
Mahesh Kannan
  • Method Details

    • invoke

      public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
      Specified by:
      invoke in interface InvocationHandler
      Throws:
      Throwable
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getSerializableObjectFactory

      public com.sun.enterprise.container.common.spi.util.SerializableObjectFactory getSerializableObjectFactory()
      Specified by:
      getSerializableObjectFactory in interface com.sun.enterprise.container.common.spi.util.IndirectlySerializable