public abstract class EJBHomeHandler extends EJBInvocationHandler implements Externalizable
| Modifier and Type | Field and Description |
|---|---|
protected ThreadPoolExecutor |
executor |
protected static Method |
GETEJBMETADATA |
protected static Method |
GETHANDLER |
protected static Method |
GETHOMEHANDLE |
protected static Method |
REMOVE_W_HAND |
protected static Method |
REMOVE_W_KEY |
authenticationInfo, client, ejb, EQUALS, HASHCODE, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey, remote, request, server, TOSTRING| Constructor and Description |
|---|
EJBHomeHandler() |
EJBHomeHandler(ThreadPoolExecutor executor,
EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
JNDIContext.AuthenticationInfo auth) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
_invoke(Object proxy,
Method method,
Object[] args) |
protected Object |
create(Method method,
Object[] args,
Object proxy) |
static EJBHomeHandler |
createEJBHomeHandler(ThreadPoolExecutor executor,
EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
JNDIContext.AuthenticationInfo auth) |
EJBHomeProxy |
createEJBHomeProxy() |
protected abstract Object |
findX(Method method,
Object[] args,
Object proxy) |
protected Object |
getEJBMetaData(Method method,
Object[] args,
Object proxy) |
protected Object |
getHomeHandle(Method method,
Object[] args,
Object proxy) |
Object |
homeMethod(Method method,
Object[] args,
Object proxy) |
void |
readExternal(ObjectInput in) |
protected abstract Object |
removeByPrimaryKey(Method method,
Object[] args,
Object proxy) |
protected abstract Object |
removeWithHandle(Method method,
Object[] args,
Object proxy) |
void |
writeExternal(ObjectOutput out) |
convertException, getCause, getClient, getClientIdentity, getEjb, getMethod, getPrimaryKey, getServer, invalidateAllHandlers, invalidateReference, invoke, registerHandler, request, requestprotected static final Method GETEJBMETADATA
protected static final Method GETHOMEHANDLE
protected static final Method REMOVE_W_KEY
protected static final Method REMOVE_W_HAND
protected static final Method GETHANDLER
protected ThreadPoolExecutor executor
public EJBHomeHandler()
public EJBHomeHandler(ThreadPoolExecutor executor, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, JNDIContext.AuthenticationInfo auth)
public static EJBHomeHandler createEJBHomeHandler(ThreadPoolExecutor executor, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, JNDIContext.AuthenticationInfo auth)
public EJBHomeProxy createEJBHomeProxy()
protected Object _invoke(Object proxy, Method method, Object[] args) throws Throwable
_invoke in class EJBInvocationHandlerThrowablepublic Object homeMethod(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object create(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected abstract Object findX(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object getEJBMetaData(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected Object getHomeHandle(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected abstract Object removeWithHandle(Method method, Object[] args, Object proxy) throws Throwable
Throwableprotected abstract Object removeByPrimaryKey(Method method, Object[] args, Object proxy) throws Throwable
Throwablepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © 1999–2017 The Apache Software Foundation. All rights reserved.