org.apache.openejb.core.ivm
Class EjbObjectProxyHandler
java.lang.Object
org.apache.openejb.core.ivm.BaseEjbProxyHandler
org.apache.openejb.core.ivm.EjbObjectProxyHandler
- All Implemented Interfaces:
- Serializable, InvocationHandler
- Direct Known Subclasses:
- EntityEjbObjectHandler, ManagedObjectHandler, SingletonEjbObjectHandler, StatefulEjbObjectHandler, StatelessEjbObjectHandler
public abstract class EjbObjectProxyHandler
- extends BaseEjbProxyHandler
- See Also:
- Serialized Form
Method Summary |
Object |
_invoke(Object p,
Class interfce,
Method m,
Object[] a)
|
protected Object |
_writeReplace(Object proxy)
|
protected Object |
businessMethod(Class interfce,
Method method,
Object[] args,
Object proxy)
|
static Object |
createProxy(DeploymentInfo deploymentInfo,
Object primaryKey,
InterfaceType interfaceType)
|
static Object |
createProxy(DeploymentInfo deploymentInfo,
Object primaryKey,
InterfaceType interfaceType,
List<Class> interfaces)
|
protected Object |
getEJBHome(Method method,
Object[] args,
Object proxy)
|
protected Object |
getEJBLocalHome(Method method,
Object[] args,
Object proxy)
|
protected Object |
getHandle(Method method,
Object[] args,
Object proxy)
|
protected abstract Object |
getPrimaryKey(Method method,
Object[] args,
Object proxy)
|
ProxyInfo |
getProxyInfo()
|
abstract Object |
getRegistryId()
|
protected abstract Object |
isIdentical(Method method,
Object[] args,
Object proxy)
|
protected abstract Object |
remove(Class interfce,
Method method,
Object[] args,
Object proxy)
|
Methods inherited from class org.apache.openejb.core.ivm.BaseEjbProxyHandler |
checkAuthorization, convertException, copyArgs, copyObj, equals, getCause, getDeploymentInfo, getInterfaces, getInvocationHandler, getInvokedInterface, getLiveHandleRegistry, getMainInterface, hashCode, invalidateAllHandlers, invalidateReference, invoke, registerHandler, setDeploymentInfo, setDoCrossClassLoaderCopy, setDoIntraVmCopy, setIntraVmCopyMode, toString |
EjbObjectProxyHandler
public EjbObjectProxyHandler(DeploymentInfo deploymentInfo,
Object pk,
InterfaceType interfaceType,
List<Class> interfaces)
getRegistryId
public abstract Object getRegistryId()
_invoke
public Object _invoke(Object p,
Class interfce,
Method m,
Object[] a)
throws Throwable
- Specified by:
_invoke
in class BaseEjbProxyHandler
- Throws:
Throwable
getEJBHome
protected Object getEJBHome(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
getEJBLocalHome
protected Object getEJBLocalHome(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
getHandle
protected Object getHandle(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
getProxyInfo
public ProxyInfo getProxyInfo()
- Specified by:
getProxyInfo
in class BaseEjbProxyHandler
_writeReplace
protected Object _writeReplace(Object proxy)
throws ObjectStreamException
- Specified by:
_writeReplace
in class BaseEjbProxyHandler
- Throws:
ObjectStreamException
getPrimaryKey
protected abstract Object getPrimaryKey(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
isIdentical
protected abstract Object isIdentical(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
remove
protected abstract Object remove(Class interfce,
Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
businessMethod
protected Object businessMethod(Class interfce,
Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
createProxy
public static Object createProxy(DeploymentInfo deploymentInfo,
Object primaryKey,
InterfaceType interfaceType)
createProxy
public static Object createProxy(DeploymentInfo deploymentInfo,
Object primaryKey,
InterfaceType interfaceType,
List<Class> interfaces)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.