org.jboss.ejb3.session
Class SessionContainerInvocation<A extends SessionContainer,T extends BeanContext<A>>

java.lang.Object
  extended by org.jboss.aop.joinpoint.InvocationBase
      extended by org.jboss.aop.joinpoint.MethodInvocation
          extended by org.jboss.ejb3.interceptors.container.ContainerMethodInvocation
              extended by org.jboss.ejb3.EJBContainerInvocation<A,T>
                  extended by org.jboss.ejb3.session.SessionContainerInvocation<A,T>
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.jboss.aop.joinpoint.Invocation, org.jboss.ejb3.tx2.aop.EJBInvocation

public class SessionContainerInvocation<A extends SessionContainer,T extends BeanContext<A>>
extends EJBContainerInvocation<A,T>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.jboss.aop.joinpoint.MethodInvocation
advisedMethod, arguments, marshalledArguments, methodHash, unadvisedMethod
 
Fields inherited from class org.jboss.aop.joinpoint.InvocationBase
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject
 
Constructor Summary
SessionContainerInvocation(java.lang.Class<?> invokedBusinessInterface, org.jboss.aop.MethodInfo info, org.jboss.aop.advice.Interceptor[] interceptors, SessionSpecContainer container)
          Creates a SessionContainerInvocation.
SessionContainerInvocation(java.lang.Class<?> invokedBusinessInterface, org.jboss.aop.MethodInfo info, SessionSpecContainer container)
          Creates a SessionContainerInvocation
 
Method Summary
 org.jboss.aop.joinpoint.Invocation copy()
           
 org.jboss.ejb3.tx2.spi.TransactionalInvocationContext getInvocationContext()
           
 void setBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> beanCtx)
           
 
Methods inherited from class org.jboss.ejb3.EJBContainerInvocation
getBeanContext, getEffigy, setContextCallback
 
Methods inherited from class org.jboss.ejb3.interceptors.container.ContainerMethodInvocation
getActualMethod, getContainerMethodInvocation, getWrapper, setTargetObject
 
Methods inherited from class org.jboss.aop.joinpoint.MethodInvocation
getAdvisor, getArguments, getMetaData, getMethod, getMethodHash, handleErrors, invokeNext, invokeTarget, readExternal, resolveAnnotation, resolveAnnotation, resolveTypedAnnotation, resolveTypedAnnotation, setArguments, toString, writeExternal
 
Methods inherited from class org.jboss.aop.joinpoint.InvocationBase
addResponseAttachment, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveClassAnnotation, resolveClassMetaData, resolveTypedClassAnnotation, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionContainerInvocation

public SessionContainerInvocation(java.lang.Class<?> invokedBusinessInterface,
                                  org.jboss.aop.MethodInfo info,
                                  SessionSpecContainer container)
Creates a SessionContainerInvocation

Parameters:
invokedBusinessInterface -
info -
container - Used for dispatching asynchronous invocations

SessionContainerInvocation

public SessionContainerInvocation(java.lang.Class<?> invokedBusinessInterface,
                                  org.jboss.aop.MethodInfo info,
                                  org.jboss.aop.advice.Interceptor[] interceptors,
                                  SessionSpecContainer container)
Creates a SessionContainerInvocation.

This constructor is similar to #SessionContainerInvocation(Class, MethodInfo) except that this constructor overwrites the interceptors for this Invocation with the passed interceptors. This effectively, ignores the interceptors available from JoinPointInfo.getInterceptors()

Parameters:
invokedBusinessInterface - The invoked business interface
info - The MethodInfo
interceptors - The interceptors which will be used by this Invocation.
container - Used for dispatching asynchronous invocations
Method Detail

getInvocationContext

public org.jboss.ejb3.tx2.spi.TransactionalInvocationContext getInvocationContext()

setBeanContext

public void setBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> beanCtx)
Overrides:
setBeanContext in class EJBContainerInvocation<A extends SessionContainer,T extends BeanContext<A>>

copy

public org.jboss.aop.joinpoint.Invocation copy()
Specified by:
copy in interface org.jboss.aop.joinpoint.Invocation
Overrides:
copy in class org.jboss.aop.joinpoint.MethodInvocation