|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.aop.joinpoint.InvocationBase org.jboss.aop.joinpoint.ConstructorInvocation
This is a helper wrapper class for an Invocation object. It is used to add or get values or metadata that pertains to an AOP Constructor interception.
Field Summary | |
protected Object[] |
arguments
|
protected Constructor |
constructor
|
Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
Constructor Summary | |
ConstructorInvocation(ConstructorInfo info,
Interceptor[] interceptors)
|
|
ConstructorInvocation(Interceptor[] interceptors)
|
Method Summary | |
Invocation |
copy()
Copies complete state of Invocation object. |
Object[] |
getArguments()
|
Constructor |
getConstructor()
|
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation. |
Invocation |
getWrapper(Interceptor[] newchain)
Get 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 |
resolveAnnotation(Class annotation)
This method resolves an annotation based on the context of the invocation. |
void |
setArguments(Object[] arguments)
|
void |
setConstructor(Constructor constructor)
|
Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
addResponseAttachment, getAdvisor, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Object[] arguments
protected transient Constructor constructor
Constructor Detail |
public ConstructorInvocation(Interceptor[] interceptors)
public ConstructorInvocation(ConstructorInfo info, Interceptor[] interceptors)
Method Detail |
public Object invokeNext() throws Throwable
invokeNext
in interface Invocation
invokeNext
in class InvocationBase
Throwable
public Object resolveAnnotation(Class annotation)
resolveAnnotation
in interface Invocation
resolveAnnotation
in class InvocationBase
public Object getMetaData(Object group, Object attr)
getMetaData
in interface Invocation
getMetaData
in class InvocationBase
public Invocation getWrapper(Interceptor[] newchain)
newchain
-
public Invocation copy()
public Object[] getArguments()
public void setArguments(Object[] arguments)
public Constructor getConstructor()
public void setConstructor(Constructor constructor)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |