org.apache.openejb.core.entity
Class EntityEjbObjectHandler

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.entity.EntityEjbObjectHandler
All Implemented Interfaces:
Serializable, InvocationHandler

public class EntityEjbObjectHandler
extends EjbObjectProxyHandler

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
clientIdentity, container, deploymentID, inProxyMap, interfaceType, isInvalidReference, primaryKey
 
Constructor Summary
EntityEjbObjectHandler(DeploymentInfo deploymentInfo, Object pk, InterfaceType interfaceType, List<Class> interfaces)
           
 
Method Summary
protected  Object getPrimaryKey(Method method, Object[] args, Object proxy)
           
 Object getRegistryId()
           
static Object getRegistryId(Container container, Object deploymentId, Object primaryKey)
           
 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
 

Constructor Detail

EntityEjbObjectHandler

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

getRegistryId

public static Object getRegistryId(Container container,
                                   Object deploymentId,
                                   Object primaryKey)

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

remove

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

invalidateReference

public void invalidateReference()
Overrides:
invalidateReference in class BaseEjbProxyHandler


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