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 class
ExpressionEvaluatingParameterSourceFactory.ExpressionEvaluatingParameterSource
-
Constructor Summary
Constructors Constructor Description ExpressionEvaluatingParameterSourceFactory()
ExpressionEvaluatingParameterSourceFactory(BeanFactory beanFactory)
-
Method Summary
Modifier and Type Method Description PositionSupportingParameterSource
createParameterSource(Object input)
Return a newParameterSource
.void
setParameters(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:ParameterSourceFactory
Return a newParameterSource
.- Specified by:
createParameterSource
in interfaceParameterSourceFactory
- Parameters:
input
- The raw message or query result to be transformed into aParameterSource
.- Returns:
- The parameter source.
-