Class BeanPropertyParameterSourceFactory
java.lang.Object
org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory
- All Implemented Interfaces:
ParameterSourceFactory
public class BeanPropertyParameterSourceFactory extends java.lang.Object implements ParameterSourceFactory
- Since:
- 2.2
-
Constructor Summary
Constructors Constructor Description BeanPropertyParameterSourceFactory() -
Method Summary
Modifier and Type Method Description ParameterSourcecreateParameterSource(java.lang.Object input)Return a newParameterSource.voidsetStaticParameters(java.util.Map<java.lang.String,java.lang.Object> staticParameters)If the input is a List or a Map, the output is a map parameter source, and in that case some static parameters can be added (default is empty).
-
Constructor Details
-
BeanPropertyParameterSourceFactory
public BeanPropertyParameterSourceFactory()
-
-
Method Details
-
setStaticParameters
public void setStaticParameters(java.util.Map<java.lang.String,java.lang.Object> staticParameters)If the input is a List or a Map, the output is a map parameter source, and in that case some static parameters can be added (default is empty). If the input is not a List or a Map then this value is ignored.- Parameters:
staticParameters- the static parameters to 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.
-