org.jboss.ejb3
Class EJBContainerInvocation<A extends EJBContainer,T extends BeanContext<?>>

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>
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, org.jboss.aop.joinpoint.Invocation, org.jboss.ejb3.tx2.aop.EJBInvocation
Direct Known Subclasses:
EJBContainerInvocationWrapper, MessageContainerInvocation, SessionContainerInvocation, StatefulContainerInvocation

public abstract class EJBContainerInvocation<A extends EJBContainer,T extends BeanContext<?>>
extends org.jboss.ejb3.interceptors.container.ContainerMethodInvocation
implements EJBInvocation, org.jboss.ejb3.effigy.aop.EJBInvocation, org.jboss.ejb3.tx2.aop.EJBInvocation

Representation of an EJB invocation on the serverside

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
EJBContainerInvocation()
           
EJBContainerInvocation(org.jboss.aop.advice.Interceptor[] interceptors, long methodHash, java.lang.reflect.Method advisedMethod, java.lang.reflect.Method unadvisedMethod, org.jboss.aop.Advisor advisor)
           
EJBContainerInvocation(org.jboss.aop.MethodInfo info)
           
 
Method Summary
 T getBeanContext()
           
 org.jboss.ejb3.effigy.EnterpriseBeanEffigy getEffigy()
           
 void setBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> beanCtx)
           
 void setContextCallback(BeanContextLifecycleCallback<T> callback)
           
 
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
 
Methods inherited from interface org.jboss.ejb3.core.context.EJBInvocation
getInvocationContext
 
Methods inherited from interface org.jboss.ejb3.tx2.aop.EJBInvocation
getInvocationContext
 

Constructor Detail

EJBContainerInvocation

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

EJBContainerInvocation

public EJBContainerInvocation(org.jboss.aop.advice.Interceptor[] interceptors,
                              long methodHash,
                              java.lang.reflect.Method advisedMethod,
                              java.lang.reflect.Method unadvisedMethod,
                              org.jboss.aop.Advisor advisor)

EJBContainerInvocation

public EJBContainerInvocation()
Method Detail

getBeanContext

public T getBeanContext()
Overrides:
getBeanContext in class org.jboss.ejb3.interceptors.container.ContainerMethodInvocation

getEffigy

public org.jboss.ejb3.effigy.EnterpriseBeanEffigy getEffigy()

setBeanContext

public void setBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> beanCtx)
Overrides:
setBeanContext in class org.jboss.ejb3.interceptors.container.ContainerMethodInvocation

setContextCallback

public void setContextCallback(BeanContextLifecycleCallback<T> callback)