org.jboss.ejb3.proxy.handler.session
Class SessionSpecProxyInvocationHandlerBase

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
All Implemented Interfaces:
java.io.Serializable, java.lang.reflect.InvocationHandler, ProxyInvocationHandler, SessionProxyInvocationHandler, SessionSpecProxyInvocationHandler
Direct Known Subclasses:
StatefulProxyInvocationHandlerBase, StatelessProxyInvocationHandlerBase

public abstract class SessionSpecProxyInvocationHandlerBase
extends SessionProxyInvocationHandlerBase
implements SessionSpecProxyInvocationHandler, java.io.Serializable

SessionSpecProxyInvocationHandlerBase Abstract base from which all Session Proxy InvocationHandlers adhering to the EJB3 specification may extend

See Also:
Serialized Form

Constructor Summary
protected SessionSpecProxyInvocationHandlerBase(java.lang.String containerName, java.lang.String containerGuid, org.jboss.aop.advice.Interceptor[] interceptors, java.lang.String businessInterfaceType)
          Constructor
 
Method Summary
protected  java.lang.String getBusinessInterfaceType()
           
 java.lang.Object invoke(java.lang.Object proxy, java.lang.reflect.Method method, java.lang.Object[] args)
           
protected  void setBusinessInterfaceType(java.lang.String businessInterfaceType)
           
 
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, invokeEquals, invokeHashCode, setContainerName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.ejb3.proxy.handler.ProxyInvocationHandler
getAsynchronousProxy
 

Constructor Detail

SessionSpecProxyInvocationHandlerBase

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

Parameters:
containerName - The name under which the target container is registered
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

invoke

public java.lang.Object invoke(java.lang.Object proxy,
                               java.lang.reflect.Method method,
                               java.lang.Object[] args)
                        throws java.lang.Throwable
Specified by:
invoke in interface java.lang.reflect.InvocationHandler
Throws:
java.lang.Throwable

getBusinessInterfaceType

protected java.lang.String getBusinessInterfaceType()

setBusinessInterfaceType

protected void setBusinessInterfaceType(java.lang.String businessInterfaceType)