org.jboss.aop.proxy.container
Class ContainerProxyMethodInvocation
java.lang.Object
org.jboss.aop.joinpoint.InvocationBase
org.jboss.aop.joinpoint.MethodInvocation
org.jboss.aop.proxy.container.ContainerProxyMethodInvocation
- All Implemented Interfaces:
- Externalizable, Serializable, Invocation
public class ContainerProxyMethodInvocation
- extends MethodInvocation
MethodInvocation allowing storage of the generated proxy
- Version:
- $Revision: 44253 $
- Author:
- Kabir Khan
- See Also:
- Serialized Form
Methods inherited from class org.jboss.aop.joinpoint.MethodInvocation |
copy, getActualMethod, getAdvisor, getMetaData, getMethod, getMethodHash, getWrapper, 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, setTargetObject |
ContainerProxyMethodInvocation
public ContainerProxyMethodInvocation(MethodInfo info,
Interceptor[] interceptors,
AspectManaged proxy)
getProxy
public AspectManaged getProxy()
getArguments
public Object[] getArguments()
- Description copied from class:
MethodInvocation
- Returns a non-null array containing all method arguments.
The returned array can be changed by the advice or interceptor accordingly. All
changes are reflected on joinpoint execution, and are noticed as well by
other advices and interceptors that are executed after the current one.
However, changes to this array are limited to the scope of current advice
execution, and must be performed before execution of MethodInvocation.invokeNext()
,
InvocationBase.invokeNext(Interceptor[])
, or MethodInvocation.invokeTarget()
method.
Otherwise, inconsistency on joinpoint argument values may be noticed.
- Overrides:
getArguments
in class MethodInvocation
- Returns:
- the method arguments
Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.