Spring Integration

org.springframework.integration.jpa.support.parametersource
Class BeanPropertyParameterSourceFactory

java.lang.Object
  extended by org.springframework.integration.jpa.support.parametersource.BeanPropertyParameterSourceFactory
All Implemented Interfaces:
ParameterSourceFactory

public class BeanPropertyParameterSourceFactory
extends java.lang.Object
implements ParameterSourceFactory

Since:
2.2
Author:
Gunnar Hillert

Constructor Summary
BeanPropertyParameterSourceFactory()
           
 
Method Summary
 ParameterSource createParameterSource(java.lang.Object input)
          Return a new ParameterSource.
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanPropertyParameterSourceFactory

public BeanPropertyParameterSourceFactory()
Method Detail

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

public ParameterSource createParameterSource(java.lang.Object input)
Description copied from interface: ParameterSourceFactory
Return a new ParameterSource.

Specified by:
createParameterSource in interface ParameterSourceFactory
Parameters:
input - the raw message or query result to be transformed into a ParameterSource

Spring Integration