|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Invocation
Comment
| Method Summary | |
|---|---|
void |
addResponseAttachment(Object key,
Object val)
|
Invocation |
copy()
Copies complete state of Invocation object so that it could possibly be reused in a spawned thread. |
Advisor |
getAdvisor()
|
Interceptor[] |
getInterceptors()
|
SimpleMetaData |
getMetaData()
Return all the contextual untyped data attached to this invocation |
Object |
getMetaData(Object group,
Object attr)
This method resolves untyped metadata based on the context of the invocation. |
Object |
getResponseAttachment(Object key)
|
Map |
getResponseContextInfo()
|
Object |
getTargetObject()
|
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. |
Object |
invokeNext(Interceptor[] newInterceptors)
Invoke on the next interceptor in the chain. |
Object |
resolveAnnotation(Class annotation)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
Object |
resolveAnnotation(Class[] annotations)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
Object |
resolveClassAnnotation(Class annotation)
Abstraction for resolving an annotation so that it can be overriden from the Class |
Object |
resolveClassMetaData(Object key,
Object attr)
Resolve class level untyped metadata based on a key and the attribute of the key |
void |
setMetaData(SimpleMetaData data)
Set all the contextual untyped data attached to this invocation |
void |
setResponseContextInfo(Map responseContextInfo)
|
void |
setTargetObject(Object targetObject)
|
| Method Detail |
|---|
Map getResponseContextInfo()
void setResponseContextInfo(Map responseContextInfo)
void addResponseAttachment(Object key,
Object val)
Object getResponseAttachment(Object key)
SimpleMetaData getMetaData()
void setMetaData(SimpleMetaData data)
Object resolveClassMetaData(Object key,
Object attr)
key - attr -
Object resolveClassAnnotation(Class annotation)
annotation -
Object resolveAnnotation(Class annotation)
annotation -
Object resolveAnnotation(Class[] annotations)
annotations -
Object invokeNext()
throws Throwable
Throwable
Object invokeNext(Interceptor[] newInterceptors)
throws Throwable
ThrowableInterceptor[] getInterceptors()
Object getMetaData(Object group,
Object attr)
Object getTargetObject()
void setTargetObject(Object targetObject)
Invocation getWrapper(Interceptor[] newchain)
newchain -
Invocation copy()
Advisor getAdvisor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||