org.jboss.ejb3.mdb
Class MessageContainerInvocation<A extends MessagingContainer,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.mdb.MessageContainerInvocation<A,T>
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.jboss.aop.joinpoint.Invocation, org.jboss.ejb3.tx2.aop.EJBInvocation

public class MessageContainerInvocation<A extends MessagingContainer,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
MessageContainerInvocation(org.jboss.aop.MethodInfo info)
           
MessageContainerInvocation(org.jboss.aop.MethodInfo info, org.jboss.aop.advice.Interceptor[] interceptors)
          /** Creates a MessageContainerInvocation.
 
Method Summary
 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
copy, 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

MessageContainerInvocation

public MessageContainerInvocation(org.jboss.aop.MethodInfo info)

MessageContainerInvocation

public MessageContainerInvocation(org.jboss.aop.MethodInfo info,
                                  org.jboss.aop.advice.Interceptor[] interceptors)
/** Creates a MessageContainerInvocation.

This constructor is similar to MessageContainerInvocation(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:
info - The MethodInfo
interceptors - The interceptors which will be used by this Invocation.
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 MessagingContainer,T extends BeanContext<A>>