com.sun.ejb.containers
Class EJBLocalObjectInvocationHandlerDelegate

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

public class EJBLocalObjectInvocationHandlerDelegate
extends Object
implements 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(Object other)
           
 SerializableObjectFactory getSerializableObjectFactory()
           
 int hashCode()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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 SerializableObjectFactory getSerializableObjectFactory()


Copyright © 2012 GlassFish Community. All Rights Reserved.