com.sun.ejb.containers
Class EJBLocalObjectInvocationHandlerDelegate

java.lang.Object
  extended by com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate
All Implemented Interfaces:
java.lang.reflect.InvocationHandler

public class EJBLocalObjectInvocationHandlerDelegate
extends java.lang.Object
implements java.lang.reflect.InvocationHandler

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 mthods of IndirectlySerializable are handled by this InvocationHandler itself while the business interface methods are delegated to the delegate (which is the EJBLocalObjectInvocaionHandler).

Author:
Mahesh Kannan

Method Summary
 boolean equals(java.lang.Object other)
           
 SerializableObjectFactory getSerializableObjectFactory()
           
 int hashCode()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSerializableObjectFactory

public SerializableObjectFactory getSerializableObjectFactory()


Copyright © 2012 GlassFish Community. All Rights Reserved.