public abstract class EjbObjectProxyHandler extends BaseEjbProxyHandler
clientIdentity, container, deploymentID, inProxyMap, interfaceType, isInvalidReference, primaryKey| Constructor and Description |
|---|
EjbObjectProxyHandler(BeanContext beanContext,
Object pk,
InterfaceType interfaceType,
List<Class> interfaces,
Class mainInterface) |
| Modifier and Type | Method and Description |
|---|---|
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(BeanContext beanContext,
Object primaryKey,
InterfaceType interfaceType,
Class mainInterface) |
static Object |
createProxy(BeanContext beanContext,
Object primaryKey,
InterfaceType interfaceType,
List<Class> interfaces,
Class mainInterface) |
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) |
protected Object |
synchronizedBusinessMethod(Class<?> interfce,
Method method,
Object[] args) |
checkAuthorization, convertException, copyArgs, copyObj, equalHandler, equals, getBeanContext, getCause, getInterfaces, getInvokedInterface, getLiveHandleRegistry, getMainInterface, hashCode, invalidateAllHandlers, invalidateReference, invoke, isValid, registerHandler, setBeanContext, setDoCrossClassLoaderCopy, setDoIntraVmCopy, setIntraVmCopyMode, toStringpublic EjbObjectProxyHandler(BeanContext beanContext, Object pk, InterfaceType interfaceType, List<Class> interfaces, Class mainInterface)
public abstract Object getRegistryId()
public Object _invoke(Object p, Class interfce, Method m, Object[] a) throws Throwable
_invoke in class BaseEjbProxyHandlerThrowableprotected Object getEJBHome(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object getEJBLocalHome(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object getHandle(Method method, Object[] args, Object proxy) throws Throwable
Throwablepublic ProxyInfo getProxyInfo()
getProxyInfo in class BaseEjbProxyHandlerprotected Object _writeReplace(Object proxy) throws ObjectStreamException
_writeReplace in class BaseEjbProxyHandlerObjectStreamExceptionprotected abstract Object getPrimaryKey(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected abstract Object isIdentical(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected abstract Object remove(Class interfce, Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object businessMethod(Class<?> interfce, Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object synchronizedBusinessMethod(Class<?> interfce, Method method, Object[] args) throws OpenEJBException
OpenEJBExceptionpublic static Object createProxy(BeanContext beanContext, Object primaryKey, InterfaceType interfaceType, Class mainInterface)
public static Object createProxy(BeanContext beanContext, Object primaryKey, InterfaceType interfaceType, List<Class> interfaces, Class mainInterface)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.