|
||||||||||
| 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.ConstructorCalledByMethodInvocation
public class ConstructorCalledByMethodInvocation
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 Class<?> |
callingClass
|
protected Method |
callingMethod
|
protected Constructor<?> |
constructor
|
protected Method |
wrappingMethod
|
| Fields inherited from class org.jboss.aop.joinpoint.CallerInvocation |
|---|
arguments, callingObject |
| Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
|---|
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
| Constructor Summary | |
|---|---|
ConstructorCalledByMethodInvocation(Advisor advisor,
Class<?> callingClass,
Method callingMethod,
Constructor<?> constructor,
Method wrappingMethod,
Object callingObject,
Object[] args,
Interceptor[] interceptors)
|
|
ConstructorCalledByMethodInvocation(ConByMethodInfo info,
Object callingObject,
Interceptor[] interceptors)
|
|
ConstructorCalledByMethodInvocation(ConByMethodInfo info,
Object callingObject,
Object[] args,
Interceptor[] interceptors)
|
|
ConstructorCalledByMethodInvocation(Object callingObject,
Interceptor[] interceptors)
|
|
| Method Summary | |
|---|---|
Invocation |
copy()
Copies complete state of Invocation object. |
Constructor<?> |
getCalledConstructor()
|
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. |
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. |
Object |
invokeTarget()
Invokes the target joinpoint for this invocation skipping any subsequent interceptors in the chain. |
boolean |
isWrapped()
Is the called constructor aspectized? If so then there is a wrapping method that must be called. |
| Methods inherited from class org.jboss.aop.joinpoint.CallerInvocation |
|---|
getArguments, getCallingObject, setArguments |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Class<?> callingClass
protected Method callingMethod
protected Constructor<?> constructor
protected Method wrappingMethod
| Constructor Detail |
|---|
public ConstructorCalledByMethodInvocation(ConByMethodInfo info,
Object callingObject,
Object[] args,
Interceptor[] interceptors)
public ConstructorCalledByMethodInvocation(ConByMethodInfo info,
Object callingObject,
Interceptor[] interceptors)
public ConstructorCalledByMethodInvocation(Advisor advisor,
Class<?> callingClass,
Method callingMethod,
Constructor<?> constructor,
Method wrappingMethod,
Object callingObject,
Object[] args,
Interceptor[] interceptors)
public ConstructorCalledByMethodInvocation(Object callingObject,
Interceptor[] interceptors)
| Method Detail |
|---|
public Class<?> getCallingClass()
public Method getCallingMethod()
public Constructor<?> getCalledConstructor()
public boolean isWrapped()
true if the constructor is wrappedpublic Method getWrappingMethod()
isWrapped() returns
true; null otherwise.
public Object invokeNext()
throws Throwable
invokeNext in interface InvocationinvokeNext in class InvocationBaseThrowable
public Object invokeTarget()
throws Throwable
invokeTarget in interface InvocationinvokeTarget in class InvocationBaseThrowable
public 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 invocation
public Invocation copy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||