|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.integration.jdbc.BeanPropertySqlParameterSourceFactory
public class BeanPropertySqlParameterSourceFactory
A default implementation of SqlParameterSourceFactory which creates an SqlParameterSource to
reference bean properties in its input.
| Constructor Summary | |
|---|---|
BeanPropertySqlParameterSourceFactory()
|
|
| Method Summary | |
|---|---|
SqlParameterSource |
createParameterSource(java.lang.Object input)
Return a new SqlParameterSource. |
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 |
|---|
public BeanPropertySqlParameterSourceFactory()
| Method Detail |
|---|
public void setStaticParameters(java.util.Map<java.lang.String,java.lang.Object> 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 | ||||||||