public abstract class ArrayElementInvocation extends InvocationBase
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject| Constructor and Description |
|---|
ArrayElementInvocation(Interceptor[] interceptors,
Object array,
int index) |
| Modifier and Type | Method and Description |
|---|---|
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
|
<T extends Annotation> |
resolveTypedAnnotation(Class<T> annotation)
Abstraction for resolving an annotation so that
it can be overriden from the Method, Constructor, Field, etc.
|
<T extends Annotation> |
resolveTypedAnnotation(Class<T>[] annotations)
Abstraction for resolving an annotation so that
it can be overriden from the Method, Constructor, Field, etc.
|
<T extends Annotation> |
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) |
getInstanceResolver, getInterceptors, getMetaData, getMetaData, getTargetObject, invokeNext, setMetaData, setTargetObjectpublic ArrayElementInvocation(Interceptor[] interceptors, Object array, int index)
public int getIndex()
public Object invokeNext() throws Throwable
invokeNext in interface InvocationinvokeNext in class InvocationBaseThrowablepublic abstract Object invokeTarget()
InvocationBaseinvokeTarget in interface InvocationinvokeTarget in class InvocationBasepublic 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)
InvocationresolveAnnotation in interface InvocationresolveAnnotation in class InvocationBasepublic Object resolveAnnotation(Class<? extends Annotation>[] annotations)
InvocationresolveAnnotation in interface InvocationresolveAnnotation in class InvocationBasepublic Object resolveClassAnnotation(Class<? extends Annotation> annotation)
InvocationresolveClassAnnotation in interface InvocationresolveClassAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedAnnotation(Class<T> annotation)
InvocationresolveTypedAnnotation in interface InvocationresolveTypedAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedAnnotation(Class<T>[] annotations)
InvocationresolveTypedAnnotation in interface InvocationresolveTypedAnnotation in class InvocationBasepublic <T extends Annotation> T resolveTypedClassAnnotation(Class<T> annotation)
InvocationresolveTypedClassAnnotation in interface InvocationresolveTypedClassAnnotation in class InvocationBasepublic Object resolveClassMetaData(Object key, Object attr)
InvocationresolveClassMetaData 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()
Invocationpublic Invocation getWrapper(Interceptor[] newchain)
Invocationpublic List<ArrayReference> getArrayOwners()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.