|
||||||||||
| 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.MethodCalledByMethodInvocation
org.jboss.aop.joinpoint.MethodCalledByMethodInvocationWrapper
public class MethodCalledByMethodInvocationWrapper
Comment
| Field Summary |
|---|
| Fields inherited from class org.jboss.aop.joinpoint.MethodCalledByMethodInvocation |
|---|
arguments |
| 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 | |
|---|---|
MethodCalledByMethodInvocationWrapper(MethodCalledByMethodInvocation wrapped,
Interceptor[] interceptors)
|
|
| Method Summary | |
|---|---|
void |
addResponseAttachment(Object key,
Object val)
|
Invocation |
copy()
Copies complete state of Invocation object. |
Advisor |
getAdvisor()
|
Object[] |
getArguments()
|
Method |
getCalledMethod()
|
Class |
getCallingClass()
|
Method |
getCallingMethod()
|
Object |
getCallingObject()
Returns the caller object. |
MetaDataResolver |
getInstanceResolver()
|
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation. |
Object |
getResponseAttachment(Object key)
|
Map |
getResponseContextInfo()
|
Object |
getTargetObject()
|
Object |
invokeNext()
Invoke on the next interceptor in the chain. |
void |
setArguments(Object[] arguments)
change the arguments to the called method |
void |
setMetaData(SimpleMetaData data)
Set all the contextual data attached to this invocation |
void |
setResponseContextInfo(Map responseContextInfo)
|
void |
setTargetObject(Object targetObject)
|
| Methods inherited from class org.jboss.aop.joinpoint.MethodCalledByMethodInvocation |
|---|
getWrapper |
| Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
|---|
getCurrentInterceptor, getInterceptors, getMetaData, invokeNext, resolveAnnotation, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, setAdvisor, setInstanceResolver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodCalledByMethodInvocationWrapper(MethodCalledByMethodInvocation wrapped,
Interceptor[] interceptors)
| Method Detail |
|---|
public Object getMetaData(Object group,
Object attr)
MethodCalledByMethodInvocation
getMetaData in interface InvocationgetMetaData in class MethodCalledByMethodInvocation
public Object invokeNext()
throws Throwable
MethodCalledByMethodInvocation
invokeNext in interface InvocationinvokeNext in class MethodCalledByMethodInvocationThrowablepublic MetaDataResolver getInstanceResolver()
getInstanceResolver in class InvocationBasepublic Invocation copy()
MethodCalledByMethodInvocation
copy in interface Invocationcopy in class MethodCalledByMethodInvocationpublic Object[] getArguments()
getArguments in class MethodCalledByMethodInvocationpublic void setArguments(Object[] arguments)
MethodCalledByMethodInvocation
setArguments in class MethodCalledByMethodInvocationpublic Class getCallingClass()
getCallingClass in class MethodCalledByMethodInvocationpublic Method getCallingMethod()
getCallingMethod in class MethodCalledByMethodInvocationpublic Map getResponseContextInfo()
getResponseContextInfo in interface InvocationgetResponseContextInfo in class InvocationBasepublic void setResponseContextInfo(Map responseContextInfo)
setResponseContextInfo in interface InvocationsetResponseContextInfo in class InvocationBase
public void addResponseAttachment(Object key,
Object val)
addResponseAttachment in interface InvocationaddResponseAttachment in class InvocationBasepublic Object getResponseAttachment(Object key)
getResponseAttachment in interface InvocationgetResponseAttachment in class InvocationBasepublic void setMetaData(SimpleMetaData data)
InvocationBase
setMetaData in interface InvocationsetMetaData in class InvocationBasepublic Advisor getAdvisor()
getAdvisor in interface InvocationgetAdvisor in class InvocationBasepublic Object getTargetObject()
getTargetObject in interface InvocationgetTargetObject in class InvocationBasepublic void setTargetObject(Object targetObject)
setTargetObject in interface InvocationsetTargetObject in class InvocationBasepublic Method getCalledMethod()
getCalledMethod in class MethodCalledByMethodInvocationpublic Object getCallingObject()
CallerInvocation
getCallingObject in class CallerInvocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||