|
JBoss AOP Parent POM 2.2.2.GA | |||||||||
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<Object,Object> |
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 |
invokeTarget()
Invokes the target joinpoint for this invocation skipping any subsequent interceptors in the chain. |
|
Object |
resolveAnnotation(Class<? extends Annotation> annotation)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
|
Object |
resolveAnnotation(Class<? extends Annotation>[] annotations)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
|
Object |
resolveClassAnnotation(Class<? extends Annotation> 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 |
|
|
resolveTypedAnnotation(Class<T> annotation)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
|
|
resolveTypedAnnotation(Class<T>[] annotations)
Abstraction for resolving an annotation so that it can be overriden from the Method, Constructor, Field, etc. |
|
|
resolveTypedClassAnnotation(Class<T> annotation)
Abstraction for resolving an annotation so that it can be overriden from the Class |
|
void |
setMetaData(SimpleMetaData data)
Set all the contextual untyped data attached to this invocation |
|
void |
setResponseContextInfo(Map<Object,Object> responseContextInfo)
|
|
void |
setTargetObject(Object targetObject)
|
Method Detail |
---|
Map<Object,Object> getResponseContextInfo()
void setResponseContextInfo(Map<Object,Object> 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<? extends Annotation> annotation)
annotation
-
<T extends Annotation> T resolveTypedClassAnnotation(Class<T> annotation)
annotation
-
Object resolveAnnotation(Class<? extends Annotation> annotation)
annotation
-
<T extends Annotation> T resolveTypedAnnotation(Class<T> annotation)
annotation
-
Object resolveAnnotation(Class<? extends Annotation>[] annotations)
annotations
-
<T extends Annotation> T resolveTypedAnnotation(Class<T>[] annotations)
annotations
-
Object invokeNext() throws Throwable
Throwable
Object invokeTarget() throws Throwable
Throwable
Object invokeNext(Interceptor[] newInterceptors) throws Throwable
Throwable
Interceptor[] getInterceptors()
Object getMetaData(Object group, Object attr)
Object getTargetObject()
void setTargetObject(Object targetObject)
Invocation getWrapper(Interceptor[] newchain)
newchain
-
Invocation copy()
Advisor getAdvisor()
|
JBoss AOP Parent POM 2.2.2.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |