public class FieldWriteInvocation extends FieldInvocation
Modifier and Type | Field and Description |
---|---|
protected Object |
value |
field, index
advisor, currentInterceptor, instanceResolver, interceptors, metadata, responseContextInfo, targetObject
Modifier | Constructor and Description |
---|---|
protected |
FieldWriteInvocation(FieldInfo info,
Interceptor[] interceptors) |
protected |
FieldWriteInvocation(FieldInfo info,
Object value,
Interceptor[] interceptors) |
|
FieldWriteInvocation(Field field,
int index,
Object value,
Interceptor[] interceptors) |
protected |
FieldWriteInvocation(Interceptor[] interceptors) |
Modifier and Type | Method and Description |
---|---|
Invocation |
copy()
Copies complete state of Invocation object.
|
Object |
getValue() |
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 |
invokeTarget()
Invokes the target joinpoint for this invocation skipping any subsequent
interceptors in the chain.
|
void |
setValue(Object value) |
String |
toString() |
getField, getIndex, getMetaData, resolveAnnotation, resolveTypedAnnotation
addResponseAttachment, getAdvisor, getCurrentInterceptor, getInstanceResolver, getInterceptors, getMetaData, getResponseAttachment, getResponseContextInfo, getTargetObject, invokeNext, resolveAnnotation, resolveClassAnnotation, resolveClassMetaData, resolveTypedAnnotation, resolveTypedClassAnnotation, setAdvisor, setInstanceResolver, setMetaData, setResponseContextInfo, setTargetObject
protected Object value
public FieldWriteInvocation(Field field, int index, Object value, Interceptor[] interceptors)
protected FieldWriteInvocation(Interceptor[] interceptors)
protected FieldWriteInvocation(FieldInfo info, Interceptor[] interceptors)
protected FieldWriteInvocation(FieldInfo info, Object value, Interceptor[] interceptors)
public Object invokeNext() throws Throwable
invokeNext
in interface Invocation
invokeNext
in class InvocationBase
Throwable
public Object invokeTarget() throws Throwable
invokeTarget
in interface Invocation
invokeTarget
in class InvocationBase
Throwable
public Invocation getWrapper(Interceptor[] newchain)
newchain
- public Invocation copy()
public Object getValue()
public void setValue(Object value)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.