|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.util.AbstractExpressionEvaluator
org.springframework.integration.jdbc.ExpressionEvaluatingSqlParameterSourceFactory
public class ExpressionEvaluatingSqlParameterSourceFactory
An implementation of SqlParameterSourceFactory which creates an SqlParameterSource that evaluates
Spring EL expressions. In addition the user can supply static parameters that always take precedence.
| Constructor Summary | |
|---|---|
ExpressionEvaluatingSqlParameterSourceFactory()
|
|
| Method Summary | |
|---|---|
SqlParameterSource |
createParameterSource(java.lang.Object input)
Return a new SqlParameterSource. |
void |
setStaticParameters(java.util.Map<java.lang.String,?> 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 org.springframework.integration.util.AbstractExpressionEvaluator |
|---|
evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, evaluateExpression, getEvaluationContext, setBeanFactory, setConversionService |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExpressionEvaluatingSqlParameterSourceFactory()
| Method Detail |
|---|
public void setStaticParameters(java.util.Map<java.lang.String,?> staticParameters)
staticParameters - the static parameters to setpublic SqlParameterSource createParameterSource(java.lang.Object input)
SqlParameterSourceFactorySqlParameterSource.
createParameterSource in interface SqlParameterSourceFactoryinput - the raw message or query result to be transformed into a SqlParameterSource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||