|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.aop.joinpoint.InvocationBase
org.jboss.aop.joinpoint.CallerInvocation
org.jboss.aop.joinpoint.ConstructorCalledByConstructorInvocation
public class ConstructorCalledByConstructorInvocation
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 method invocation.
Field Summary | |
---|---|
protected Object[] |
arguments
|
protected Constructor |
calling
|
protected Constructor |
constructor
|
protected Method |
wrappingMethod
|
Fields inherited from class org.jboss.aop.joinpoint.CallerInvocation |
---|
callingObject |
Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
---|
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
Constructor Summary | |
---|---|
ConstructorCalledByConstructorInvocation(Advisor advisor,
Constructor calling,
Constructor constructor,
Method wrappingMethod,
Object callingObject,
Object[] args,
Interceptor[] interceptors)
|
|
ConstructorCalledByConstructorInvocation(ConByConInfo info,
Object callingObject,
Interceptor[] interceptors)
|
|
ConstructorCalledByConstructorInvocation(ConByConInfo info,
Object callingObject,
Object[] args,
Interceptor[] interceptors)
|
|
ConstructorCalledByConstructorInvocation(Object callingObject,
Interceptor[] interceptors)
|
Method Summary | |
---|---|
Invocation |
copy()
Copies complete state of Invocation object. |
Object[] |
getArguments()
|
Constructor |
getCalledConstructor()
|
Constructor |
getCallingConstructor()
|
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. |
Method |
getWrappingMethod()
Is the called constructor aspectized? If so then this method returns the method that wraps the constructor. |
Object |
invokeNext()
Invoke on the next interceptor in the chain. |
boolean |
isWrapped()
Is the called constructor aspectized? If so then there is a wrapping method that must be called. |
void |
setArguments(Object[] arguments)
|
Methods inherited from class org.jboss.aop.joinpoint.CallerInvocation |
---|
getCallingObject |
Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
---|
addResponseAttachment, getAdvisor, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, 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 Constructor calling
protected Constructor constructor
protected Method wrappingMethod
Constructor Detail |
---|
public ConstructorCalledByConstructorInvocation(ConByConInfo info, Object callingObject, Object[] args, Interceptor[] interceptors)
public ConstructorCalledByConstructorInvocation(ConByConInfo info, Object callingObject, Interceptor[] interceptors)
public ConstructorCalledByConstructorInvocation(Advisor advisor, Constructor calling, Constructor constructor, Method wrappingMethod, Object callingObject, Object[] args, Interceptor[] interceptors)
public ConstructorCalledByConstructorInvocation(Object callingObject, Interceptor[] interceptors)
Method Detail |
---|
public Object[] getArguments()
public void setArguments(Object[] arguments)
public Constructor getCallingConstructor()
public Constructor getCalledConstructor()
public boolean isWrapped()
public Method getWrappingMethod()
public Object invokeNext() throws Throwable
invokeNext
in interface Invocation
invokeNext
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
-
public Invocation copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |