Class JdbcOutboundChannelAdapterSpec
java.lang.Object
org.springframework.integration.dsl.IntegrationComponentSpec<JdbcOutboundChannelAdapterSpec, JdbcMessageHandler>
org.springframework.integration.dsl.MessageHandlerSpec<JdbcOutboundChannelAdapterSpec, JdbcMessageHandler>
org.springframework.integration.jdbc.dsl.JdbcOutboundChannelAdapterSpec
- All Implemented Interfaces:
DisposableBean
,FactoryBean<JdbcMessageHandler>
,InitializingBean
,Lifecycle
,Phased
,SmartLifecycle
public class JdbcOutboundChannelAdapterSpec
extends MessageHandlerSpec<JdbcOutboundChannelAdapterSpec, JdbcMessageHandler>
- Since:
- 7.0
- Author:
- Jiandong Ma, Artem Bilan
-
Field Summary
Fields inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
logger, PARSER, target
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
Fields inherited from interface org.springframework.context.SmartLifecycle
DEFAULT_PHASE
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JdbcOutboundChannelAdapterSpec
(JdbcOperations jdbcOperations, String updateQuery) -
Method Summary
Modifier and TypeMethodDescriptionkeysGenerated
(boolean keysGenerated) preparedStatementSetter
(MessagePreparedStatementSetter preparedStatementSetter) sqlParameterSourceFactory
(SqlParameterSourceFactory sqlParameterSourceFactory) usePayloadAsParameterSource
(boolean usePayloadAsParameterSource) Methods inherited from class org.springframework.integration.dsl.IntegrationComponentSpec
_this, afterPropertiesSet, destroy, doGet, getId, getObject, getObjectType, getPhase, id, isAutoStartup, isRunning, start, stop, stop
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
Methods inherited from interface org.springframework.context.SmartLifecycle
isPauseable
-
Constructor Details
-
JdbcOutboundChannelAdapterSpec
-
-
Method Details
-
keysGenerated
- Parameters:
keysGenerated
- the keysGenerated- Returns:
- the spec
- See Also:
-
sqlParameterSourceFactory
public JdbcOutboundChannelAdapterSpec sqlParameterSourceFactory(SqlParameterSourceFactory sqlParameterSourceFactory) - Parameters:
sqlParameterSourceFactory
- the sqlParameterSourceFactory- Returns:
- the spec
- See Also:
-
usePayloadAsParameterSource
public JdbcOutboundChannelAdapterSpec usePayloadAsParameterSource(boolean usePayloadAsParameterSource) - Parameters:
usePayloadAsParameterSource
- the usePayloadAsParameterSource- Returns:
- the spec
- See Also:
-
preparedStatementSetter
public JdbcOutboundChannelAdapterSpec preparedStatementSetter(MessagePreparedStatementSetter preparedStatementSetter) - Parameters:
preparedStatementSetter
- the preparedStatementSetter- Returns:
- the spec
- See Also:
-