org.apache.openejb.client
Class SingletonEJBObjectHandler
java.lang.Object
org.apache.openejb.client.EJBInvocationHandler
org.apache.openejb.client.EJBObjectHandler
org.apache.openejb.client.SingletonEJBObjectHandler
- All Implemented Interfaces:
- Serializable, InvocationHandler
public class SingletonEJBObjectHandler
- extends EJBObjectHandler
- 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 |
static Object |
createRegistryId(Object primKey,
Object deployId,
String containerID)
|
protected Object |
equals(Method method,
Object[] args,
Object proxy)
|
protected Object |
getPrimaryKey(Method method,
Object[] args,
Object proxy)
|
Object |
getRegistryId()
|
protected void |
invalidateReference()
|
protected Object |
isIdentical(Method method,
Object[] args,
Object proxy)
|
protected Object |
remove(Method method,
Object[] args,
Object proxy)
|
Methods inherited from class org.apache.openejb.client.EJBInvocationHandler |
convertException, getCause, getClient, getClientIdentity, getEjb, getMethod, getPrimaryKey, getServer, invalidateAllHandlers, invoke, registerHandler, request |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
registryId
public Object registryId
SingletonEJBObjectHandler
public SingletonEJBObjectHandler()
SingletonEJBObjectHandler
public SingletonEJBObjectHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client)
SingletonEJBObjectHandler
public SingletonEJBObjectHandler(EJBMetaDataImpl ejb,
ServerMetaData server,
ClientMetaData client,
Object primaryKey)
createRegistryId
public static Object createRegistryId(Object primKey,
Object deployId,
String containerID)
getRegistryId
public Object getRegistryId()
- Specified by:
getRegistryId
in class EJBObjectHandler
getPrimaryKey
protected Object getPrimaryKey(Method method,
Object[] args,
Object proxy)
throws Throwable
- Specified by:
getPrimaryKey
in class EJBObjectHandler
- Throws:
Throwable
isIdentical
protected Object isIdentical(Method method,
Object[] args,
Object proxy)
throws Throwable
- Specified by:
isIdentical
in class EJBObjectHandler
- Throws:
Throwable
equals
protected Object equals(Method method,
Object[] args,
Object proxy)
throws Throwable
- Specified by:
equals
in class EJBObjectHandler
- Throws:
Throwable
invalidateReference
protected void invalidateReference()
- Overrides:
invalidateReference
in class EJBInvocationHandler
remove
protected Object remove(Method method,
Object[] args,
Object proxy)
throws Throwable
- Specified by:
remove
in class EJBObjectHandler
- Throws:
Throwable
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.