Class DynamicExpression
java.lang.Object
org.springframework.integration.expression.DynamicExpression
- All Implemented Interfaces:
- Expression
An implementation of 
Expression that delegates to an ExpressionSource
 for resolving the actual Expression instance per-invocation at runtime.- Since:
- 2.0
- Author:
- Mark Fisher, Artem Bilan
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription@Nullable ObjectgetValue()<T> @Nullable T@Nullable Object<T> @Nullable T@Nullable ObjectgetValue(EvaluationContext context) <T> @Nullable TgetValue(EvaluationContext context, @Nullable Class<T> desiredResultType) @Nullable ObjectgetValue(EvaluationContext context, @Nullable Object rootObject) <T> @Nullable TgetValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) @Nullable Class<?> @Nullable Class<?> getValueType(@Nullable Object rootObject) @Nullable Class<?> getValueType(EvaluationContext context) @Nullable Class<?> getValueType(EvaluationContext context, @Nullable Object rootObject) @Nullable TypeDescriptor@Nullable TypeDescriptorgetValueTypeDescriptor(@Nullable Object rootObject) @Nullable TypeDescriptorgetValueTypeDescriptor(EvaluationContext context) @Nullable TypeDescriptorgetValueTypeDescriptor(EvaluationContext context, @Nullable Object rootObject) booleanisWritable(@Nullable Object rootObject) booleanisWritable(EvaluationContext context) booleanisWritable(EvaluationContext context, @Nullable Object rootObject) voidvoidsetValue(EvaluationContext context, @Nullable Object value) voidsetValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) 
- 
Constructor Details- 
DynamicExpression
 
- 
- 
Method Details- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValuepublic <T> @Nullable T getValue(@Nullable Object rootObject, @Nullable Class<T> desiredResultType) throws EvaluationException - Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValue- Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValuepublic @Nullable Object getValue(EvaluationContext context, @Nullable Object rootObject) throws EvaluationException - Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValuepublic <T> @Nullable T getValue(EvaluationContext context, @Nullable Class<T> desiredResultType) throws EvaluationException - Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValuepublic <T> @Nullable T getValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Class<T> desiredResultType) throws EvaluationException - Specified by:
- getValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueType- Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueType- Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueType- Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypepublic @Nullable Class<?> getValueType(EvaluationContext context, @Nullable Object rootObject) throws EvaluationException - Specified by:
- getValueTypein interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptor- Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptorpublic @Nullable TypeDescriptor getValueTypeDescriptor(@Nullable Object rootObject) throws EvaluationException - Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptorpublic @Nullable TypeDescriptor getValueTypeDescriptor(EvaluationContext context) throws EvaluationException - Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
getValueTypeDescriptorpublic @Nullable TypeDescriptor getValueTypeDescriptor(EvaluationContext context, @Nullable Object rootObject) throws EvaluationException - Specified by:
- getValueTypeDescriptorin interface- Expression
- Throws:
- EvaluationException
 
- 
isWritable- Specified by:
- isWritablein interface- Expression
- Throws:
- EvaluationException
 
- 
isWritablepublic boolean isWritable(EvaluationContext context, @Nullable Object rootObject) throws EvaluationException - Specified by:
- isWritablein interface- Expression
- Throws:
- EvaluationException
 
- 
isWritable- Specified by:
- isWritablein interface- Expression
- Throws:
- EvaluationException
 
- 
setValue- Specified by:
- setValuein interface- Expression
- Throws:
- EvaluationException
 
- 
setValuepublic void setValue(@Nullable Object rootObject, @Nullable Object value) throws EvaluationException - Specified by:
- setValuein interface- Expression
- Throws:
- EvaluationException
 
- 
setValuepublic void setValue(EvaluationContext context, @Nullable Object rootObject, @Nullable Object value) throws EvaluationException - Specified by:
- setValuein interface- Expression
- Throws:
- EvaluationException
 
- 
getExpressionString- Specified by:
- getExpressionStringin interface- Expression
 
 
-