org.apache.openejb.core.stateless
Class StatelessEjbObjectHandler

java.lang.Object
  extended by org.apache.openejb.core.ivm.BaseEjbProxyHandler
      extended by org.apache.openejb.core.ivm.EjbObjectProxyHandler
          extended by org.apache.openejb.core.stateless.StatelessEjbObjectHandler
All Implemented Interfaces:
Serializable, InvocationHandler

public class StatelessEjbObjectHandler
extends EjbObjectProxyHandler

See Also:
Serialized Form

Field Summary
 Object registryId
           
 
Fields inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
clientIdentity, container, deploymentID, inProxyMap, interfaceType, isInvalidReference, primaryKey
 
Constructor Summary
StatelessEjbObjectHandler(DeploymentInfo deploymentInfo, Object pk, InterfaceType interfaceType, List<Class> interfaces)
           
 
Method Summary
static Object createRegistryId(Object primKey, Object deployId, Container contnr)
           
protected  Object getPrimaryKey(Method method, Object[] args, Object proxy)
           
 Object getRegistryId()
           
 void invalidateReference()
           
protected  Object isIdentical(Method method, Object[] args, Object proxy)
           
protected  Object remove(Class interfce, Method method, Object[] args, Object proxy)
           
 
Methods inherited from class org.apache.openejb.core.ivm.EjbObjectProxyHandler
_invoke, _writeReplace, businessMethod, createProxy, createProxy, getEJBHome, getEJBLocalHome, getHandle, getProxyInfo
 
Methods inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
checkAuthorization, convertException, copyArgs, copyObj, equals, getCause, getDeploymentInfo, getInterfaces, getInvocationHandler, getInvokedInterface, getLiveHandleRegistry, getMainInterface, hashCode, invalidateAllHandlers, invoke, registerHandler, setDeploymentInfo, setDoCrossClassLoaderCopy, setDoIntraVmCopy, setIntraVmCopyMode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

registryId

public Object registryId
Constructor Detail

StatelessEjbObjectHandler

public StatelessEjbObjectHandler(DeploymentInfo deploymentInfo,
                                 Object pk,
                                 InterfaceType interfaceType,
                                 List<Class> interfaces)
Method Detail

createRegistryId

public static Object createRegistryId(Object primKey,
                                      Object deployId,
                                      Container contnr)

getRegistryId

public Object getRegistryId()
Specified by:
getRegistryId in class EjbObjectProxyHandler

getPrimaryKey

protected Object getPrimaryKey(Method method,
                               Object[] args,
                               Object proxy)
                        throws Throwable
Specified by:
getPrimaryKey in class EjbObjectProxyHandler
Throws:
Throwable

isIdentical

protected Object isIdentical(Method method,
                             Object[] args,
                             Object proxy)
                      throws Throwable
Specified by:
isIdentical in class EjbObjectProxyHandler
Throws:
Throwable

invalidateReference

public void invalidateReference()
Overrides:
invalidateReference in class BaseEjbProxyHandler

remove

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


Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.