public class MethodCalledByConstructorInvocation extends CallerInvocation
| Modifier and Type | Field and Description |
|---|---|
protected Constructor<?> |
calling |
protected Method |
method |
arguments, callingObjectadvisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject| Constructor and Description |
|---|
MethodCalledByConstructorInvocation(Advisor advisor,
Constructor<?> calling,
Method method,
Object callingObject,
Object target,
Object[] args,
Interceptor[] interceptors) |
MethodCalledByConstructorInvocation(MethodByConInfo info,
Object callingObject,
Object target,
Interceptor[] interceptors) |
MethodCalledByConstructorInvocation(MethodByConInfo info,
Object callingObject,
Object target,
Object[] args,
Interceptor[] interceptors) |
MethodCalledByConstructorInvocation(Object callingObject,
Interceptor[] interceptors) |
| Modifier and Type | Method and Description |
|---|---|
Invocation |
copy()
Copies complete state of Invocation object.
|
Method |
getCalledMethod() |
Constructor<?> |
getCalling()
The constructor that is calling the method
|
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, setArgumentsaddResponseAttachment, getAdvisor, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, resolveTypedAnnotation, resolveTypedAnnotation, resolveTypedClassAnnotation, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObjectprotected Constructor<?> calling
protected Method method
public MethodCalledByConstructorInvocation(MethodByConInfo info, Object callingObject, Object target, Object[] args, Interceptor[] interceptors)
public MethodCalledByConstructorInvocation(MethodByConInfo info, Object callingObject, Object target, Interceptor[] interceptors)
public MethodCalledByConstructorInvocation(Advisor advisor, Constructor<?> calling, Method method, Object callingObject, Object target, Object[] args, Interceptor[] interceptors)
public MethodCalledByConstructorInvocation(Object callingObject, Interceptor[] interceptors)
public Object invokeNext() throws Throwable
invokeNext in interface InvocationinvokeNext in class InvocationBaseThrowablepublic Object invokeTarget() throws Throwable
invokeTarget in interface InvocationinvokeTarget in class InvocationBaseThrowablepublic Object getMetaData(Object group, Object attr)
getMetaData in interface InvocationgetMetaData in class InvocationBasepublic Invocation getWrapper(Interceptor[] newchain)
newchain - chain of interceptors to be inserted on invocationpublic Invocation copy()
public Constructor<?> getCalling()
public Method getCalledMethod()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.