org.jboss.ejb3.interceptors.container
Class ContainerMethodInvocation
java.lang.Object
org.jboss.aop.joinpoint.InvocationBase
org.jboss.aop.joinpoint.MethodInvocation
org.jboss.ejb3.interceptors.container.ContainerMethodInvocation
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, org.jboss.aop.joinpoint.Invocation
- Direct Known Subclasses:
- ContainerMethodInvocationWrapper, StatefulSessionContainerMethodInvocation
public class ContainerMethodInvocation
- extends org.jboss.aop.joinpoint.MethodInvocation
A method invocation on a intercepting container.
- Version:
- $Revision: $
- Author:
- Carlo de Wolf
- See Also:
- Serialized Form
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 |
protected |
ContainerMethodInvocation()
|
protected |
ContainerMethodInvocation(org.jboss.aop.advice.Interceptor[] newchain)
|
protected |
ContainerMethodInvocation(org.jboss.aop.advice.Interceptor[] interceptors,
long methodHash,
java.lang.reflect.Method advisedMethod,
java.lang.reflect.Method unadvisedMethod,
org.jboss.aop.Advisor advisor)
|
protected |
ContainerMethodInvocation(org.jboss.aop.MethodInfo info)
Meant for use in the EJB container, which does a late beanContext
association using an instance interceptor. |
protected |
ContainerMethodInvocation(org.jboss.aop.MethodInfo info,
org.jboss.aop.advice.Interceptor[] interceptors)
|
Methods inherited from class org.jboss.aop.joinpoint.MethodInvocation |
copy, 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 |
ContainerMethodInvocation
protected ContainerMethodInvocation(org.jboss.aop.MethodInfo info)
- Meant for use in the EJB container, which does a late beanContext
association using an instance interceptor.
ContainerMethodInvocation
protected ContainerMethodInvocation(org.jboss.aop.advice.Interceptor[] interceptors,
long methodHash,
java.lang.reflect.Method advisedMethod,
java.lang.reflect.Method unadvisedMethod,
org.jboss.aop.Advisor advisor)
ContainerMethodInvocation
protected ContainerMethodInvocation()
ContainerMethodInvocation
protected ContainerMethodInvocation(org.jboss.aop.MethodInfo info,
org.jboss.aop.advice.Interceptor[] interceptors)
ContainerMethodInvocation
protected ContainerMethodInvocation(org.jboss.aop.advice.Interceptor[] newchain)
- Parameters:
newchain
-
getBeanContext
public BeanContext<?> getBeanContext()
getContainerMethodInvocation
public static ContainerMethodInvocation getContainerMethodInvocation(org.jboss.aop.joinpoint.Invocation invocation)
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.aop.joinpoint.MethodInvocation
setBeanContext
public void setBeanContext(BeanContext<?> beanContext)
- Parameters:
beanContext
- the beanContext to set or null for disassociation
setTargetObject
public void setTargetObject(java.lang.Object targetObject)
- Specified by:
setTargetObject
in interface org.jboss.aop.joinpoint.Invocation
- Overrides:
setTargetObject
in class org.jboss.aop.joinpoint.InvocationBase
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.