|
|||||||||||
| 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.MethodInvocation
| Field Summary | |
protected Method |
advisedMethod
|
protected Object[] |
arguments
arguments of the method call expressed as an array of objects |
protected MarshalledObject |
marshalledArguments
|
protected long |
methodHash
|
protected Method |
unadvisedMethod
|
| Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
| Constructor Summary | |
|
MethodInvocation()
|
protected |
MethodInvocation(Interceptor[] interceptors)
|
|
MethodInvocation(Interceptor[] interceptors,
long methodHash,
Method advisedMethod,
Method unadvisedMethod,
Advisor advisor)
|
|
MethodInvocation(MethodInfo info,
Interceptor[] interceptors)
|
|
MethodInvocation(MethodJoinPoint info,
Interceptor[] interceptors)
A wrong dependency on MethodJoinPoint was introduced when EJB3 embedded alpha 2 was released, so we need this constructor here |
| Method Summary | |
Invocation |
copy()
Copies complete state of Invocation object. |
Method |
getActualMethod()
|
Advisor |
getAdvisor()
|
Object[] |
getArguments()
|
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation. |
Method |
getMethod()
|
long |
getMethodHash()
|
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. |
void |
readExternal(ObjectInput in)
|
Object |
resolveAnnotation(Class annotation)
This method resolves an annotation based on the context of the invocation. |
Object |
resolveAnnotation(Class[] annotations)
This method resolves an annotation based on the context of the invocation. |
void |
setArguments(Object[] arguments)
|
String |
toString()
|
void |
writeExternal(ObjectOutput out)
|
| Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
addResponseAttachment, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Object[] arguments
protected long methodHash
protected MarshalledObject marshalledArguments
protected Method advisedMethod
protected Method unadvisedMethod
| Constructor Detail |
public MethodInvocation(MethodInfo info,
Interceptor[] interceptors)
public MethodInvocation(MethodJoinPoint info,
Interceptor[] interceptors)
public MethodInvocation(Interceptor[] interceptors,
long methodHash,
Method advisedMethod,
Method unadvisedMethod,
Advisor advisor)
protected MethodInvocation(Interceptor[] interceptors)
public MethodInvocation()
| Method Detail |
public String toString()
public Object invokeNext()
throws Throwable
invokeNext in interface InvocationinvokeNext in class InvocationBaseThrowablepublic Object resolveAnnotation(Class annotation)
resolveAnnotation in interface InvocationresolveAnnotation in class InvocationBasepublic Object resolveAnnotation(Class[] annotations)
resolveAnnotation in interface InvocationresolveAnnotation in class InvocationBase
public Object getMetaData(Object group,
Object attr)
getMetaData in interface InvocationgetMetaData in class InvocationBasepublic Invocation getWrapper(Interceptor[] newchain)
getWrapper in interface Invocationnewchain -
public Invocation copy()
copy in interface Invocationpublic Object[] getArguments()
public void setArguments(Object[] arguments)
public Method getMethod()
public Method getActualMethod()
public long getMethodHash()
public Advisor getAdvisor()
getAdvisor in interface InvocationgetAdvisor in class InvocationBase
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||