Class ExpressionEvaluatingParameterSourceFactory
java.lang.Object
org.springframework.integration.jpa.support.parametersource.ExpressionEvaluatingParameterSourceFactory
- All Implemented Interfaces:
ParameterSourceFactory
public class ExpressionEvaluatingParameterSourceFactory extends java.lang.Object implements ParameterSourceFactory
A SpEL expression based
ParameterSourceFactory implementation.- Since:
- 2.2
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classExpressionEvaluatingParameterSourceFactory.ExpressionEvaluatingParameterSource -
Constructor Summary
Constructors Constructor Description ExpressionEvaluatingParameterSourceFactory()ExpressionEvaluatingParameterSourceFactory(org.springframework.beans.factory.BeanFactory beanFactory) -
Method Summary
Modifier and Type Method Description PositionSupportingParameterSourcecreateParameterSource(java.lang.Object input)Return a newParameterSource.voidsetParameters(java.util.List<JpaParameter> parameters)Define the (optional) parameter values.
-
Constructor Details
-
ExpressionEvaluatingParameterSourceFactory
public ExpressionEvaluatingParameterSourceFactory() -
ExpressionEvaluatingParameterSourceFactory
public ExpressionEvaluatingParameterSourceFactory(@Nullable org.springframework.beans.factory.BeanFactory beanFactory)
-
-
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.
-