クラス JdbcCursorItemReaderAutoConfiguration
java.lang.ObjectSE
org.springframework.cloud.task.batch.autoconfigure.jdbc.JdbcCursorItemReaderAutoConfiguration
@AutoConfiguration
@EnableConfigurationProperties(JdbcCursorItemReaderProperties.class)
@AutoConfigureAfter(org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class)
@ConditionalOnProperty(prefix="spring.batch.job.jdbccursoritemreader",
name="name")
@Import(org.springframework.cloud.task.batch.autoconfigure.jdbc.JDBCSingleStepDataSourceAutoConfiguration.class)
public class JdbcCursorItemReaderAutoConfiguration
extends ObjectSE
- 導入:
- 2.3
- 作成者:
- Michael Minella, Glenn Renfro
ネストされたクラスのサマリー
コンストラクターのサマリー
コンストラクター説明JdbcCursorItemReaderAutoConfiguration
(JdbcCursorItemReaderProperties properties, DataSourceSE dataSource) メソッドのサマリー
修飾子と型メソッド説明itemReader
(org.springframework.jdbc.core.RowMapper<MapSE<StringSE, ObjectSE>> rowMapper, org.springframework.jdbc.core.PreparedStatementSetter preparedStatementSetter) org.springframework.boot.autoconfigure.jdbc.DataSourceProperties
readerDataSource
(org.springframework.boot.autoconfigure.jdbc.DataSourceProperties readerDataSourceProperties)
コンストラクターの詳細
JdbcCursorItemReaderAutoConfiguration
public JdbcCursorItemReaderAutoConfiguration(JdbcCursorItemReaderProperties properties, DataSourceSE dataSource)
メソッドの詳細
itemReader
@Bean @ConditionalOnMissingBean public org.springframework.batch.item.database.JdbcCursorItemReader<MapSE<StringSE,ObjectSE>> itemReader(@Autowired(required=false) org.springframework.jdbc.core.RowMapper<MapSE<StringSE, ObjectSE>> rowMapper, @Autowired(required=false) org.springframework.jdbc.core.PreparedStatementSetter preparedStatementSetter) rowMapper
jdbcCursorItemReaderDataSourceProperties
@ConditionalOnProperty(prefix="spring.batch.job.jdbccursoritemreader.datasource", name="enable", havingValue="true") @Bean(name="jdbcCursorItemReaderDataSourceProperties") @ConfigurationProperties("jdbccursoritemreader.datasource") public org.springframework.boot.autoconfigure.jdbc.DataSourceProperties jdbcCursorItemReaderDataSourceProperties()readerDataSource
@ConditionalOnProperty(prefix="spring.batch.job.jdbccursoritemreader.datasource", name="enable", havingValue="true") @Bean(name="jdbcCursorItemReaderSpringDataSource") public DataSourceSE readerDataSource(@Qualifier("jdbcCursorItemReaderDataSourceProperties") org.springframework.boot.autoconfigure.jdbc.DataSourceProperties readerDataSourceProperties)