public abstract class EJBObjectHandler extends EJBInvocationHandler
| Modifier and Type | Field and Description |
|---|---|
protected static Method |
CANCEL |
protected static ThreadPoolExecutor |
executorService |
protected static Method |
GETEJBHOME |
protected static Method |
GETHANDLE |
protected static Method |
GETHANDLER |
protected static Method |
GETPRIMARYKEY |
protected static Method |
ISIDENTICAL |
static String |
OPENEJB_CLIENT_INVOKER_QUEUE |
static String |
OPENEJB_CLIENT_INVOKER_THREADS |
Object |
registryId |
protected static Method |
REMOVE |
authenticationInfo, client, ejb, EQUALS, HASHCODE, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey, remote, request, server, TOSTRING| Constructor and Description |
|---|
EJBObjectHandler() |
EJBObjectHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
JNDIContext.AuthenticationInfo auth) |
EJBObjectHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
Object primaryKey,
JNDIContext.AuthenticationInfo auth) |
| Modifier and Type | Method and Description |
|---|---|
Object |
_invoke(Object p,
Method m,
Object[] a) |
protected Object |
businessMethod(Method method,
Object[] args,
Object proxy) |
static EJBObjectHandler |
createEJBObjectHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
Object primaryKey,
JNDIContext.AuthenticationInfo auth) |
EJBObjectProxy |
createEJBObjectProxy() |
protected abstract Object |
equals(Method method,
Object[] args,
Object proxy) |
protected Object |
getEJBHome(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) |
abstract Object |
getRegistryId() |
protected abstract Object |
isIdentical(Method method,
Object[] args,
Object proxy) |
protected abstract Object |
remove(Method method,
Object[] args,
Object proxy) |
protected void |
setEJBHomeProxy(EJBHomeProxy ejbHome) |
convertException, getCause, getClient, getClientIdentity, getEjb, getMethod, getPrimaryKey, getServer, invalidateAllHandlers, invalidateReference, invoke, registerHandler, request, requestpublic static final String OPENEJB_CLIENT_INVOKER_THREADS
public static final String OPENEJB_CLIENT_INVOKER_QUEUE
protected static final Method GETEJBHOME
protected static final Method GETHANDLE
protected static final Method GETPRIMARYKEY
protected static final Method ISIDENTICAL
protected static final Method REMOVE
protected static final Method GETHANDLER
protected static final Method CANCEL
protected static final ThreadPoolExecutor executorService
public Object registryId
public EJBObjectHandler()
public EJBObjectHandler(EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, JNDIContext.AuthenticationInfo auth)
public EJBObjectHandler(EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, Object primaryKey, JNDIContext.AuthenticationInfo auth)
protected void setEJBHomeProxy(EJBHomeProxy ejbHome)
public static EJBObjectHandler createEJBObjectHandler(EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, Object primaryKey, JNDIContext.AuthenticationInfo auth)
public abstract Object getRegistryId()
public EJBObjectProxy createEJBObjectProxy()
public Object _invoke(Object p, Method m, Object[] a) throws Throwable
_invoke in class EJBInvocationHandlerThrowableprotected Object getEJBHome(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object getHandle(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected 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 equals(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected abstract Object remove(Method method, Object[] args, Object proxy) throws Throwable
ThrowableCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.