org.apache.openejb.core.managed
Class ManagedObjectHandler

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

public class ManagedObjectHandler
extends EjbObjectProxyHandler

See Also:
Serialized Form

Nested Class Summary
static class ManagedObjectHandler.RegistryId
           
 
Field Summary
 
Fields inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
clientIdentity, container, deploymentID, inProxyMap, interfaceType, isInvalidReference, primaryKey
 
Constructor Summary
ManagedObjectHandler(BeanContext beanContext, Object pk, InterfaceType interfaceType, List<Class> interfaces, Class mainInterface)
           
 
Method Summary
protected  Object getPrimaryKey(Method method, Object[] args, Object proxy)
           
 Object getRegistryId()
           
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, synchronizedBusinessMethod
 
Methods inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler
checkAuthorization, convertException, copyArgs, copyObj, equalHandler, equals, getBeanContext, getCause, getInterfaces, getInvokedInterface, getLiveHandleRegistry, getMainInterface, hashCode, invalidateAllHandlers, invalidateReference, invoke, registerHandler, setBeanContext, setDoCrossClassLoaderCopy, setDoIntraVmCopy, setIntraVmCopyMode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ManagedObjectHandler

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

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


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