org.apache.openejb.client
Class StatefulEJBObjectHandler

java.lang.Object
  extended by org.apache.openejb.client.EJBInvocationHandler
      extended by org.apache.openejb.client.EJBObjectHandler
          extended by org.apache.openejb.client.StatefulEJBObjectHandler
All Implemented Interfaces:
Serializable, InvocationHandler

public class StatefulEJBObjectHandler
extends EJBObjectHandler

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.openejb.client.EJBObjectHandler
GETEJBHOME, GETHANDLE, GETHANDLER, GETPRIMARYKEY, ISIDENTICAL, registryId, REMOVE
 
Fields inherited from class org.apache.openejb.client.EJBInvocationHandler
client, ejb, EQUALS, HASHCODE, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey, remote, request, server, TOSTRING
 
Constructor Summary
StatefulEJBObjectHandler()
           
StatefulEJBObjectHandler(EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client)
           
StatefulEJBObjectHandler(EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, Object primaryKey)
           
 
Method Summary
protected  Object equals(Method method, Object[] args, Object proxy)
           
protected  Object getPrimaryKey(Method method, Object[] args, Object proxy)
           
 Object getRegistryId()
           
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.EJBObjectHandler
_invoke, businessMethod, createEJBObjectHandler, createEJBObjectProxy, getEJBHome, getHandle, setEJBHomeProxy
 
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
 

Constructor Detail

StatefulEJBObjectHandler

public StatefulEJBObjectHandler()

StatefulEJBObjectHandler

public StatefulEJBObjectHandler(EJBMetaDataImpl ejb,
                                ServerMetaData server,
                                ClientMetaData client)

StatefulEJBObjectHandler

public StatefulEJBObjectHandler(EJBMetaDataImpl ejb,
                                ServerMetaData server,
                                ClientMetaData client,
                                Object primaryKey)
Method Detail

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

remove

protected Object remove(Method method,
                        Object[] args,
                        Object proxy)
                 throws Throwable
Specified by:
remove in class EJBObjectHandler
Throws:
Throwable


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.