|
||||||||||
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 Invocation
invokeNext
in class InvocationBase
Throwable
public abstract Object invokeTarget()
InvocationBase
invokeTarget
in interface Invocation
invokeTarget
in class InvocationBase
public void addResponseAttachment(Object key, Object val)
addResponseAttachment
in interface Invocation
addResponseAttachment
in class InvocationBase
public Advisor getAdvisor()
getAdvisor
in interface Invocation
getAdvisor
in class InvocationBase
public int getCurrentInterceptor()
getCurrentInterceptor
in class InvocationBase
public Object getResponseAttachment(Object key)
getResponseAttachment
in interface Invocation
getResponseAttachment
in class InvocationBase
public Map<Object,Object> getResponseContextInfo()
getResponseContextInfo
in interface Invocation
getResponseContextInfo
in class InvocationBase
public Object resolveAnnotation(Class<? extends Annotation> annotation)
Invocation
resolveAnnotation
in interface Invocation
resolveAnnotation
in class InvocationBase
public Object resolveAnnotation(Class<? extends Annotation>[] annotations)
Invocation
resolveAnnotation
in interface Invocation
resolveAnnotation
in class InvocationBase
public Object resolveClassAnnotation(Class<? extends Annotation> annotation)
Invocation
resolveClassAnnotation
in interface Invocation
resolveClassAnnotation
in class InvocationBase
public <T extends Annotation> T resolveTypedAnnotation(Class<T> annotation)
Invocation
resolveTypedAnnotation
in interface Invocation
resolveTypedAnnotation
in class InvocationBase
public <T extends Annotation> T resolveTypedAnnotation(Class<T>[] annotations)
Invocation
resolveTypedAnnotation
in interface Invocation
resolveTypedAnnotation
in class InvocationBase
public <T extends Annotation> T resolveTypedClassAnnotation(Class<T> annotation)
Invocation
resolveTypedClassAnnotation
in interface Invocation
resolveTypedClassAnnotation
in class InvocationBase
public Object resolveClassMetaData(Object key, Object attr)
Invocation
resolveClassMetaData
in interface Invocation
resolveClassMetaData
in class InvocationBase
public void setAdvisor(Advisor advisor)
setAdvisor
in class InvocationBase
public void setInstanceResolver(MetaDataResolver instanceResolver)
setInstanceResolver
in class InvocationBase
public void setResponseContextInfo(Map<Object,Object> responseContextInfo)
setResponseContextInfo
in interface Invocation
setResponseContextInfo
in class InvocationBase
public 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 |