|
||||||||||
| 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.array.ArrayElementInvocation
public abstract class ArrayElementInvocation
| Field Summary |
|---|
| Fields inherited from class org.jboss.aop.joinpoint.InvocationBase |
|---|
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject |
| Constructor Summary | |
|---|---|
ArrayElementInvocation(Interceptor[] interceptors,
Object array,
int index)
|
|
| 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()
|
|
List<ArrayReference> |
getArrayOwners()
|
|
int |
getCurrentInterceptor()
|
|
int |
getIndex()
|
|
Object |
getResponseAttachment(Object key)
|
|
Map<Object,Object> |
getResponseContextInfo()
|
|
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. |
|
abstract 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 |
setAdvisor(Advisor advisor)
|
|
void |
setInstanceResolver(MetaDataResolver instanceResolver)
|
|
void |
setResponseContextInfo(Map<Object,Object> responseContextInfo)
|
|
| Methods inherited from class org.jboss.aop.joinpoint.InvocationBase |
|---|
getInstanceResolver, getInterceptors, getMetaData, getMetaData, getTargetObject, invokeNext, setMetaData, setTargetObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayElementInvocation(Interceptor[] interceptors,
Object array,
int index)
| Method Detail |
|---|
public int getIndex()
public Object invokeNext()
throws Throwable
invokeNext in interface InvocationinvokeNext in class InvocationBaseThrowablepublic abstract Object invokeTarget()
InvocationBase
invokeTarget in interface InvocationinvokeTarget in class InvocationBase
public void addResponseAttachment(Object key,
Object val)
addResponseAttachment in interface InvocationaddResponseAttachment in class InvocationBasepublic Advisor getAdvisor()
getAdvisor in interface InvocationgetAdvisor in class InvocationBasepublic int getCurrentInterceptor()
getCurrentInterceptor in class InvocationBasepublic Object getResponseAttachment(Object key)
getResponseAttachment in interface InvocationgetResponseAttachment in class InvocationBasepublic Map<Object,Object> getResponseContextInfo()
getResponseContextInfo in interface InvocationgetResponseContextInfo in class InvocationBasepublic Object resolveAnnotation(Class<? extends Annotation> annotation)
Invocation
resolveAnnotation in interface InvocationresolveAnnotation in class InvocationBasepublic Object resolveAnnotation(Class<? extends Annotation>[] annotations)
Invocation
resolveAnnotation in interface InvocationresolveAnnotation in class InvocationBasepublic Object resolveClassAnnotation(Class<? extends Annotation> annotation)
Invocation
resolveClassAnnotation in interface InvocationresolveClassAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedAnnotation(Class<T> annotation)
Invocation
resolveTypedAnnotation in interface InvocationresolveTypedAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedAnnotation(Class<T>[] annotations)
Invocation
resolveTypedAnnotation in interface InvocationresolveTypedAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedClassAnnotation(Class<T> annotation)
Invocation
resolveTypedClassAnnotation in interface InvocationresolveTypedClassAnnotation in class InvocationBase
public Object resolveClassMetaData(Object key,
Object attr)
Invocation
resolveClassMetaData in interface InvocationresolveClassMetaData in class InvocationBasepublic void setAdvisor(Advisor advisor)
setAdvisor in class InvocationBasepublic void setInstanceResolver(MetaDataResolver instanceResolver)
setInstanceResolver in class InvocationBasepublic void setResponseContextInfo(Map<Object,Object> responseContextInfo)
setResponseContextInfo in interface InvocationsetResponseContextInfo in class InvocationBasepublic Invocation copy()
Invocation
public Invocation getWrapper(Interceptor[] newchain)
Invocation
public List<ArrayReference> getArrayOwners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||