public class MethodCalledByMethodInvocation extends CallerInvocation
arguments, callingObject
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject
Constructor and Description |
---|
MethodCalledByMethodInvocation(Advisor advisor,
Class<?> callingClass,
Method callingMethod,
Method method,
Object callingObject,
Object targetObject,
Object[] args,
Interceptor[] interceptors) |
MethodCalledByMethodInvocation(MethodByMethodInfo info,
Object callingObject,
Object targetObject,
Interceptor[] interceptors) |
MethodCalledByMethodInvocation(MethodByMethodInfo info,
Object callingObject,
Object targetObject,
Object[] arguments,
Interceptor[] interceptors) |
MethodCalledByMethodInvocation(Object callingObject,
Interceptor[] interceptors) |
Modifier and Type | Method and Description |
---|---|
Invocation |
copy()
Copies complete state of Invocation object.
|
Method |
getCalledMethod() |
Class<?> |
getCallingClass() |
Method |
getCallingMethod() |
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation.
|
Invocation |
getWrapper(Interceptor[] newchain)
Returns a wrapper invocation object that can insert a new chain of interceptors
at runtime to the invocation flow.
|
Object |
invokeNext()
Invoke on the next interceptor in the chain.
|
Object |
invokeTarget()
Invokes the target joinpoint for this invocation skipping any subsequent
interceptors in the chain.
|
getArguments, getCallingObject, setArguments
addResponseAttachment, getAdvisor, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, resolveTypedAnnotation, resolveTypedAnnotation, resolveTypedClassAnnotation, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObject
public MethodCalledByMethodInvocation(MethodByMethodInfo info, Object callingObject, Object targetObject, Object[] arguments, Interceptor[] interceptors)
public MethodCalledByMethodInvocation(MethodByMethodInfo info, Object callingObject, Object targetObject, Interceptor[] interceptors)
public MethodCalledByMethodInvocation(Advisor advisor, Class<?> callingClass, Method callingMethod, Method method, Object callingObject, Object targetObject, Object[] args, Interceptor[] interceptors)
public MethodCalledByMethodInvocation(Object callingObject, Interceptor[] interceptors)
public Object invokeNext() throws Throwable
invokeNext
in interface Invocation
invokeNext
in class InvocationBase
Throwable
public Object invokeTarget() throws Throwable
invokeTarget
in interface Invocation
invokeTarget
in class InvocationBase
Throwable
public Object getMetaData(Object group, Object attr)
getMetaData
in interface Invocation
getMetaData
in class InvocationBase
public Invocation getWrapper(Interceptor[] newchain)
newchain
- chain of interceptors to be inserted on invocationpublic Invocation copy()
public Class<?> getCallingClass()
public Method getCallingMethod()
public Method getCalledMethod()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.