org.apache.openejb.client
Class EJBHomeHandler
java.lang.Object
org.apache.openejb.client.EJBInvocationHandler
org.apache.openejb.client.EJBHomeHandler
- All Implemented Interfaces:
- Externalizable, Serializable, InvocationHandler
- Direct Known Subclasses:
- EntityEJBHomeHandler, SingletonEJBHomeHandler, StatefulEJBHomeHandler, StatelessEJBHomeHandler
public abstract class EJBHomeHandler
- extends EJBInvocationHandler
- implements Externalizable
- See Also:
- Serialized Form
Fields inherited from class org.apache.openejb.client.EJBInvocationHandler |
client, ejb, EQUALS, HASHCODE, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey, remote, request, server, TOSTRING |
Method Summary |
protected Object |
_invoke(Object proxy,
Method method,
Object[] args)
|
protected Object |
create(Method method,
Object[] args,
Object proxy)
|
static EJBHomeHandler |
createEJBHomeHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client)
|
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)
|
Methods inherited from class org.apache.openejb.client.EJBInvocationHandler |
convertException, getCause, getClient, getClientIdentity, getEjb, getMethod, getPrimaryKey, getServer, invalidateAllHandlers, invalidateReference, invoke, registerHandler, request |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GETEJBMETADATA
protected static final Method GETEJBMETADATA
GETHOMEHANDLE
protected static final Method GETHOMEHANDLE
REMOVE_W_KEY
protected static final Method REMOVE_W_KEY
REMOVE_W_HAND
protected static final Method REMOVE_W_HAND
GETHANDLER
protected static final Method GETHANDLER
EJBHomeHandler
public EJBHomeHandler()
EJBHomeHandler
public EJBHomeHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client)
createEJBHomeHandler
public static EJBHomeHandler createEJBHomeHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client)
createEJBHomeProxy
public EJBHomeProxy createEJBHomeProxy()
_invoke
protected Object _invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
- Specified by:
_invoke
in class EJBInvocationHandler
- Throws:
Throwable
homeMethod
public Object homeMethod(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
create
protected Object create(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
findX
protected abstract Object findX(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
getEJBMetaData
protected Object getEJBMetaData(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
getHomeHandle
protected Object getHomeHandle(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
removeWithHandle
protected abstract Object removeWithHandle(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
removeByPrimaryKey
protected abstract Object removeByPrimaryKey(Method method,
Object[] args,
Object proxy)
throws Throwable
- Throws:
Throwable
readExternal
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal
in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput out)
throws IOException
- Specified by:
writeExternal
in interface Externalizable
- Throws:
IOException
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.