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:
Externalizable, Serializable, org.jboss.aop.joinpoint.Invocation
Direct Known Subclasses:
EJBContainerInvocationWrapper, StatefulContainerInvocation

public class EJBContainerInvocation<A extends EJBContainer,T extends BeanContext<?>>
extends org.jboss.ejb3.interceptors.container.ContainerMethodInvocation

Representation of an EJB invocation on the serverside

Version:
$Revision: 71938 $
Author:
Bill Burke
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, Method advisedMethod, Method unadvisedMethod, org.jboss.aop.Advisor advisor)
           
EJBContainerInvocation(org.jboss.aop.MethodInfo info)
           
 
Method Summary
 org.jboss.aop.joinpoint.Invocation copy()
           
 T getBeanContext()
           
 org.jboss.aop.joinpoint.Invocation getWrapper(org.jboss.aop.advice.Interceptor[] newchain)
           
 void setBeanContext(org.jboss.ejb3.interceptors.container.BeanContext<?> beanCtx)
           
 void setContextCallback(BeanContextLifecycleCallback<T> callback)
           
 
Methods inherited from class org.jboss.ejb3.interceptors.container.ContainerMethodInvocation
getContainerMethodInvocation, setTargetObject
 
Methods inherited from class org.jboss.aop.joinpoint.MethodInvocation
getActualMethod, 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

EJBContainerInvocation

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

EJBContainerInvocation

public EJBContainerInvocation(org.jboss.aop.advice.Interceptor[] interceptors,
                              long methodHash,
                              Method advisedMethod,
                              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

setBeanContext

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

getWrapper

public org.jboss.aop.joinpoint.Invocation getWrapper(org.jboss.aop.advice.Interceptor[] newchain)
Specified by:
getWrapper in interface org.jboss.aop.joinpoint.Invocation
Overrides:
getWrapper in class org.jboss.ejb3.interceptors.container.ContainerMethodInvocation

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

setContextCallback

public void setContextCallback(BeanContextLifecycleCallback<T> callback)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.