Class ExpressionEvaluatingParameterSourceFactory
java.lang.Object
org.springframework.integration.jpa.support.parametersource.ExpressionEvaluatingParameterSourceFactory
- All Implemented Interfaces:
ParameterSourceFactory
public class ExpressionEvaluatingParameterSourceFactory extends Object implements ParameterSourceFactory
A SpEL expression based
ParameterSourceFactory implementation.- Since:
- 2.2
- Author:
- Gunnar Hillert, Gary Russell, Artem Bilan
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classExpressionEvaluatingParameterSourceFactory.ExpressionEvaluatingParameterSource -
Constructor Summary
Constructors Constructor Description ExpressionEvaluatingParameterSourceFactory()ExpressionEvaluatingParameterSourceFactory(BeanFactory beanFactory) -
Method Summary
Modifier and Type Method Description PositionSupportingParameterSourcecreateParameterSource(Object input)Return a newParameterSource.voidsetParameters(List<JpaParameter> parameters)Define the (optional) parameter values.
-
Constructor Details
-
ExpressionEvaluatingParameterSourceFactory
public ExpressionEvaluatingParameterSourceFactory() -
ExpressionEvaluatingParameterSourceFactory
-
-
Method Details
-
setParameters
Define the (optional) parameter values.- Parameters:
parameters- the parameters to be set
-
createParameterSource
Description copied from interface:ParameterSourceFactoryReturn a newParameterSource.- Specified by:
createParameterSourcein interfaceParameterSourceFactory- Parameters:
input- The raw message or query result to be transformed into aParameterSource.- Returns:
- The parameter source.
-