public class FieldReadInvocationWrapper extends FieldReadInvocation
field, indexadvisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject| Constructor and Description |
|---|
FieldReadInvocationWrapper(FieldReadInvocation wrapped,
Interceptor[] interceptors) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResponseAttachment(Object key,
Object val) |
Invocation |
copy()
Copies complete state of Invocation object.
|
Advisor |
getAdvisor() |
Field |
getField()
This is the field the invocation is accessing
|
int |
getIndex()
This is an index into the Field[] array accessed through the ClassAdvisor
|
MetaDataResolver |
getInstanceResolver() |
SimpleMetaData |
getMetaData()
Return all the contextual data attached to this invocation
|
Object |
getMetaData(Object group,
Object attr)
This method resolves metadata based on the context of the invocation.
|
Object |
getResponseAttachment(Object key) |
Map<Object,Object> |
getResponseContextInfo() |
Object |
getTargetObject() |
Object |
invokeNext()
Invoke on the next interceptor in the chain.
|
void |
setMetaData(SimpleMetaData data)
Set all the contextual data attached to this invocation
|
void |
setResponseContextInfo(Map<Object,Object> responseContextInfo) |
void |
setTargetObject(Object targetObject) |
getWrapper, invokeTarget, toStringresolveAnnotation, resolveTypedAnnotationgetCurrentInterceptor, getInterceptors, invokeNext, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, resolveTypedAnnotation, resolveTypedClassAnnotation, setAdvisor, setInstanceResolverpublic FieldReadInvocationWrapper(FieldReadInvocation wrapped, Interceptor[] interceptors)
public Object getMetaData(Object group, Object attr)
FieldInvocationgetMetaData in interface InvocationgetMetaData in class FieldInvocationpublic Object invokeNext() throws Throwable
FieldReadInvocationinvokeNext in interface InvocationinvokeNext in class FieldReadInvocationThrowablepublic MetaDataResolver getInstanceResolver()
getInstanceResolver in class InvocationBasepublic Invocation copy()
FieldReadInvocationcopy in interface Invocationcopy in class FieldReadInvocationpublic Field getField()
FieldInvocationgetField in class FieldInvocationpublic int getIndex()
FieldInvocationgetIndex in class FieldInvocationpublic Map<Object,Object> getResponseContextInfo()
getResponseContextInfo in interface InvocationgetResponseContextInfo in class InvocationBasepublic void setResponseContextInfo(Map<Object,Object> responseContextInfo)
setResponseContextInfo in interface InvocationsetResponseContextInfo in class InvocationBasepublic void addResponseAttachment(Object key, Object val)
addResponseAttachment in interface InvocationaddResponseAttachment in class InvocationBasepublic Object getResponseAttachment(Object key)
getResponseAttachment in interface InvocationgetResponseAttachment in class InvocationBasepublic SimpleMetaData getMetaData()
InvocationBasegetMetaData in interface InvocationgetMetaData in class InvocationBasepublic void setMetaData(SimpleMetaData data)
InvocationBasesetMetaData in interface InvocationsetMetaData in class InvocationBasepublic Advisor getAdvisor()
getAdvisor in interface InvocationgetAdvisor in class InvocationBasepublic Object getTargetObject()
getTargetObject in interface InvocationgetTargetObject in class InvocationBasepublic void setTargetObject(Object targetObject)
setTargetObject in interface InvocationsetTargetObject in class InvocationBaseCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.