public class ContainerProxyMethodInvocation extends MethodInvocation
advisedMethod, arguments, marshalledArguments, methodHash, unadvisedMethod
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject
Constructor and Description |
---|
ContainerProxyMethodInvocation(MethodInfo info,
Interceptor[] interceptors,
AspectManaged proxy) |
Modifier and Type | Method and Description |
---|---|
Object[] |
getArguments()
Returns a non-null array containing all method arguments.
|
AspectManaged |
getProxy() |
copy, getActualMethod, getAdvisor, getMetaData, getMethod, getMethodHash, getWrapper, handleErrors, invokeNext, invokeTarget, readExternal, resolveAnnotation, resolveAnnotation, resolveTypedAnnotation, resolveTypedAnnotation, setArguments, toString, writeExternal
addResponseAttachment, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveClassAnnotation, resolveClassMetaData, resolveTypedClassAnnotation, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObject
public ContainerProxyMethodInvocation(MethodInfo info, Interceptor[] interceptors, AspectManaged proxy)
public AspectManaged getProxy()
public Object[] getArguments()
MethodInvocation
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.
getArguments
in class MethodInvocation
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.