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
CANCEL, executor, GETEJBHOME, GETHANDLE, GETHANDLER, GETPRIMARYKEY, ISIDENTICAL, registryId, REMOVE
 
Fields inherited from class org.apache.openejb.client.EJBInvocationHandler
authenticationInfo, client, ejb, EQUALS, HASHCODE, inProxyMap, isInvalidReference, liveHandleRegistry, primaryKey, remote, request, server, TOSTRING
 
Constructor Summary
StatefulEJBObjectHandler()
           
StatefulEJBObjectHandler(ThreadPoolExecutor executorService, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, JNDIContext.AuthenticationInfo auth)
           
StatefulEJBObjectHandler(ThreadPoolExecutor executorService, EJBMetaDataImpl ejb, ServerMetaData server, ClientMetaData client, Object primaryKey, JNDIContext.AuthenticationInfo auth)
           
 
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, 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(ThreadPoolExecutor executorService,
                                EJBMetaDataImpl ejb,
                                ServerMetaData server,
                                ClientMetaData client,
                                JNDIContext.AuthenticationInfo auth)

StatefulEJBObjectHandler

public StatefulEJBObjectHandler(ThreadPoolExecutor executorService,
                                EJBMetaDataImpl ejb,
                                ServerMetaData server,
                                ClientMetaData client,
                                Object primaryKey,
                                JNDIContext.AuthenticationInfo auth)
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–2015 The Apache Software Foundation. All rights reserved.