|
JBoss AOP Parent POM 2.2.2.GA | |||||||||
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.MethodCalledByConstructorInvocation
public class MethodCalledByConstructorInvocation
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 Constructor<?> |
calling
|
protected Method |
method
|
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 | |
---|---|
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)
|
Method Summary | |
---|---|
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. |
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 Constructor<?> calling
protected Method method
Constructor Detail |
---|
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)
Method Detail |
---|
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 invocation
public Invocation copy()
public Constructor<?> getCalling()
public Method getCalledMethod()
|
JBoss AOP Parent POM 2.2.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |