Class BasicBatchConfigurer

  • All Implemented Interfaces:
    org.springframework.batch.core.configuration.annotation.BatchConfigurer
    Direct Known Subclasses:
    JpaBatchConfigurer

    public class BasicBatchConfigurer
    extends Object
    implements org.springframework.batch.core.configuration.annotation.BatchConfigurer
    Basic BatchConfigurer implementation.
    • Method Detail

      • getJobRepository

        public org.springframework.batch.core.repository.JobRepository getJobRepository()
        Specified by:
        getJobRepository in interface org.springframework.batch.core.configuration.annotation.BatchConfigurer
      • getTransactionManager

        public org.springframework.transaction.PlatformTransactionManager getTransactionManager()
        Specified by:
        getTransactionManager in interface org.springframework.batch.core.configuration.annotation.BatchConfigurer
      • getJobLauncher

        public org.springframework.batch.core.launch.JobLauncher getJobLauncher()
        Specified by:
        getJobLauncher in interface org.springframework.batch.core.configuration.annotation.BatchConfigurer
      • getJobExplorer

        public org.springframework.batch.core.explore.JobExplorer getJobExplorer()
                                                                          throws Exception
        Specified by:
        getJobExplorer in interface org.springframework.batch.core.configuration.annotation.BatchConfigurer
        Throws:
        Exception
      • determineIsolationLevel

        protected String determineIsolationLevel()
        Determine the isolation level for create* operation of the JobRepository.
        Returns:
        the isolation level or null to use the default
      • createTransactionManager

        protected org.springframework.transaction.PlatformTransactionManager createTransactionManager()