Class DefaultBatchConfigurer

java.lang.Object
org.springframework.batch.core.configuration.annotation.DefaultBatchConfigurer
All Implemented Interfaces:
BatchConfigurer

@Component public class DefaultBatchConfigurer extends Object implements BatchConfigurer
  • Constructor Details

    • DefaultBatchConfigurer

      public DefaultBatchConfigurer(DataSource dataSource)
      Create a new DefaultBatchConfigurer with the passed datasource. This constructor will configure a default DataSourceTransactionManager.
      Parameters:
      dataSource - to use for the job repository and job explorer
    • DefaultBatchConfigurer

      public DefaultBatchConfigurer(DataSource dataSource, org.springframework.transaction.PlatformTransactionManager transactionManager)
      Create a new DefaultBatchConfigurer with the passed datasource and transaction manager.
      Parameters:
      dataSource - to use for the job repository and job explorer
      transactionManager - to use for the job repository
  • Method Details