public abstract class EJBObjectHandler extends EJBInvocationHandler
Modifier and Type | Field and Description |
---|---|
protected static java.lang.reflect.Method |
CANCEL |
protected java.util.concurrent.ThreadPoolExecutor |
executor |
protected static java.lang.reflect.Method |
GETEJBHOME |
protected static java.lang.reflect.Method |
GETHANDLE |
protected static java.lang.reflect.Method |
GETHANDLER |
protected static java.lang.reflect.Method |
GETPRIMARYKEY |
protected static java.lang.reflect.Method |
ISIDENTICAL |
java.lang.Object |
registryId |
protected static java.lang.reflect.Method |
REMOVE |
authenticationInfo, client, ejb, EQUALS, HASHCODE, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey, remote, request, server, TOSTRING
Constructor and Description |
---|
EJBObjectHandler() |
EJBObjectHandler(java.util.concurrent.ThreadPoolExecutor es,
EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
JNDIContext.AuthenticationInfo auth) |
EJBObjectHandler(java.util.concurrent.ThreadPoolExecutor es,
EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
java.lang.Object primaryKey,
JNDIContext.AuthenticationInfo auth) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
_invoke(java.lang.Object p,
java.lang.reflect.Method m,
java.lang.Object[] a) |
protected java.lang.Object |
businessMethod(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
static EJBObjectHandler |
createEJBObjectHandler(java.util.concurrent.ThreadPoolExecutor executorService,
EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
java.lang.Object primaryKey,
JNDIContext.AuthenticationInfo auth) |
EJBObjectProxy |
createEJBObjectProxy() |
protected abstract java.lang.Object |
equals(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
protected java.lang.Object |
getEJBHome(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
protected java.lang.Object |
getHandle(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
protected abstract java.lang.Object |
getPrimaryKey(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
abstract java.lang.Object |
getRegistryId() |
protected abstract java.lang.Object |
isIdentical(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
protected abstract java.lang.Object |
remove(java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object proxy) |
protected void |
setEJBHomeProxy(EJBHomeProxy ejbHome) |
convertException, getCause, getClient, getClientIdentity, getEjb, getMethod, getPrimaryKey, getServer, invalidateAllHandlers, invalidateReference, invoke, registerHandler, request, request
protected static final java.lang.reflect.Method GETEJBHOME
protected static final java.lang.reflect.Method GETHANDLE
protected static final java.lang.reflect.Method GETPRIMARYKEY
protected static final java.lang.reflect.Method ISIDENTICAL
protected static final java.lang.reflect.Method REMOVE
protected static final java.lang.reflect.Method GETHANDLER
protected static final java.lang.reflect.Method CANCEL
public java.lang.Object registryId
protected java.util.concurrent.ThreadPoolExecutor executor
public EJBObjectHandler()
public EJBObjectHandler(java.util.concurrent.ThreadPoolExecutor es, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, JNDIContext.AuthenticationInfo auth)
public EJBObjectHandler(java.util.concurrent.ThreadPoolExecutor es, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, java.lang.Object primaryKey, JNDIContext.AuthenticationInfo auth)
protected void setEJBHomeProxy(EJBHomeProxy ejbHome)
public static EJBObjectHandler createEJBObjectHandler(java.util.concurrent.ThreadPoolExecutor executorService, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, java.lang.Object primaryKey, JNDIContext.AuthenticationInfo auth)
public abstract java.lang.Object getRegistryId()
public EJBObjectProxy createEJBObjectProxy()
public java.lang.Object _invoke(java.lang.Object p, java.lang.reflect.Method m, java.lang.Object[] a) throws java.lang.Throwable
_invoke
in class EJBInvocationHandler
java.lang.Throwable
protected java.lang.Object getEJBHome(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
protected java.lang.Object getHandle(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
protected abstract java.lang.Object getPrimaryKey(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
protected abstract java.lang.Object isIdentical(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
protected abstract java.lang.Object equals(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
protected abstract java.lang.Object remove(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable
protected java.lang.Object businessMethod(java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object proxy) throws java.lang.Throwable
java.lang.Throwable