org.apache.openejb.core.stateful
Class StatefulEjbHomeHandler

java.lang.Object
  extended by org.apache.openejb.core.ivm.BaseEjbProxyHandler
      extended by org.apache.openejb.core.ivm.EjbHomeProxyHandler
          extended by org.apache.openejb.core.stateful.StatefulEjbHomeHandler
All Implemented Interfaces:
Serializable, InvocationHandler

public class StatefulEjbHomeHandler
extends EjbHomeProxyHandler

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openejb.core.ivm.EjbHomeProxyHandler
logger
 
Fields inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
clientIdentity, container, deploymentID, inProxyMap, interfaceType, isInvalidReference, primaryKey
 
Constructor Summary
StatefulEjbHomeHandler(BeanContext beanContext, InterfaceType interfaceType, List<Class> interfaces, Class mainInterface)
           
 
Method Summary
 Object createProxy(Object primaryKey, Class mainInterface)
           
protected  Object findX(Class interfce, Method method, Object[] args, Object proxy)
           
protected  EjbObjectProxyHandler newEjbObjectHandler(BeanContext beanContext, Object pk, InterfaceType interfaceType, List<Class> interfaces, Class mainInterface)
           
protected  Object removeByPrimaryKey(Class interfce, Method method, Object[] args, Object proxy)
           
 
Methods inherited from class org.apache.openejb.core.ivm.EjbHomeProxyHandler
_invoke, _writeReplace, create, createHomeHandler, createHomeProxy, createHomeProxy, getEJBMetaData, getHomeHandle, getProxyInfo, homeMethod, invalidateReference, removeWithHandle
 
Methods inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
checkAuthorization, convertException, copyArgs, copyObj, equalHandler, equals, getBeanContext, getCause, getInterfaces, getInvocationHandler, getInvokedInterface, getLiveHandleRegistry, getMainInterface, hashCode, invalidateAllHandlers, invoke, registerHandler, setBeanContext, setDoCrossClassLoaderCopy, setDoIntraVmCopy, setIntraVmCopyMode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatefulEjbHomeHandler

public StatefulEjbHomeHandler(BeanContext beanContext,
                              InterfaceType interfaceType,
                              List<Class> interfaces,
                              Class mainInterface)
Method Detail

createProxy

public Object createProxy(Object primaryKey,
                          Class mainInterface)
Overrides:
createProxy in class EjbHomeProxyHandler

findX

protected Object findX(Class interfce,
                       Method method,
                       Object[] args,
                       Object proxy)
                throws Throwable
Specified by:
findX in class EjbHomeProxyHandler
Throws:
Throwable

removeByPrimaryKey

protected Object removeByPrimaryKey(Class interfce,
                                    Method method,
                                    Object[] args,
                                    Object proxy)
                             throws Throwable
Specified by:
removeByPrimaryKey in class EjbHomeProxyHandler
Throws:
Throwable

newEjbObjectHandler

protected EjbObjectProxyHandler newEjbObjectHandler(BeanContext beanContext,
                                                    Object pk,
                                                    InterfaceType interfaceType,
                                                    List<Class> interfaces,
                                                    Class mainInterface)
Specified by:
newEjbObjectHandler in class EjbHomeProxyHandler


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.