org.jboss.ejb3.proxy.handler.session.stateless
Class StatelessProxyInvocationHandlerBase

java.lang.Object
  extended by org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase
      extended by org.jboss.ejb3.proxy.handler.session.SessionProxyInvocationHandlerBase
          extended by org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase
              extended by org.jboss.ejb3.proxy.handler.session.stateless.StatelessProxyInvocationHandlerBase
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler, ProxyInvocationHandler, SessionProxyInvocationHandler, SessionSpecProxyInvocationHandler
Direct Known Subclasses:
StatelessLocalProxyInvocationHandler, StatelessRemoteProxyInvocationHandler

public abstract class StatelessProxyInvocationHandlerBase
extends SessionSpecProxyInvocationHandlerBase
implements SessionProxyInvocationHandler, java.io.Serializable

StatelessProxyInvocationHandlerBase Implementation of a SLSB Proxy Invocation Handler

See Also:
Serialized Form

Constructor Summary
StatelessProxyInvocationHandlerBase(java.lang.String containerName, java.lang.String containerGuid, org.jboss.aop.advice.Interceptor[] interceptors)
          Constructor
StatelessProxyInvocationHandlerBase(java.lang.String containerName, java.lang.String containerGuid, org.jboss.aop.advice.Interceptor[] interceptors, java.lang.String businessInterfaceType)
          Constructor
 
Method Summary
 java.lang.Object getAsynchronousProxy(java.lang.Object proxy)
           
protected  StatelessProxyInvocationHandlerBase getInvocationHandler(java.lang.Object proxy)
           
protected  boolean invokeEquals(java.lang.Object proxy, java.lang.Object argument)
          Handles invocation of "equals(Object)" upon a SLSB Proxy EJB 3.0 Specification 3.4.5.2
protected  int invokeHashCode(java.lang.Object proxy)
          Handles invocation of "hashCode()" upon the proxy
 
Methods inherited from class org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase
getBusinessInterfaceType, invoke, setBusinessInterfaceType
 
Methods inherited from class org.jboss.ejb3.proxy.handler.session.SessionProxyInvocationHandlerBase
getContainer, getContainerLocally
 
Methods inherited from class org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase
getContainerGuid, getContainerName, getInterceptors, handleInvocationDirectly, setContainerName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Constructor Detail

StatelessProxyInvocationHandlerBase

public StatelessProxyInvocationHandlerBase(java.lang.String containerName,
                                           java.lang.String containerGuid,
                                           org.jboss.aop.advice.Interceptor[] interceptors)
Constructor

Parameters:
containerName -
containerGuid - The globally-unique name of the container
interceptors - The interceptors to apply to invocations upon this handler

StatelessProxyInvocationHandlerBase

public StatelessProxyInvocationHandlerBase(java.lang.String containerName,
                                           java.lang.String containerGuid,
                                           org.jboss.aop.advice.Interceptor[] interceptors,
                                           java.lang.String businessInterfaceType)
Constructor

Parameters:
containerName - The name of the target Container
containerGuid - The globally-unique name of the container
businessInterfaceType - The possibly null businessInterfaceType marking this invocation hander as specific to a given EJB3 Business Interface
interceptors - The interceptors to apply to invocations upon this handler
Method Detail

invokeEquals

protected boolean invokeEquals(java.lang.Object proxy,
                               java.lang.Object argument)
Handles invocation of "equals(Object)" upon a SLSB Proxy EJB 3.0 Specification 3.4.5.2

Specified by:
invokeEquals in class ProxyInvocationHandlerBase
Parameters:
proxy -
args -
Returns:

invokeHashCode

protected int invokeHashCode(java.lang.Object proxy)
Handles invocation of "hashCode()" upon the proxy

Specified by:
invokeHashCode in class ProxyInvocationHandlerBase
Parameters:
proxy -
Returns:

getInvocationHandler

protected StatelessProxyInvocationHandlerBase getInvocationHandler(java.lang.Object proxy)

getAsynchronousProxy

public java.lang.Object getAsynchronousProxy(java.lang.Object proxy)
Specified by:
getAsynchronousProxy in interface ProxyInvocationHandler