Class ScopeConfiguration

java.lang.Object
org.springframework.batch.core.configuration.support.ScopeConfiguration

@Configuration(proxyBeanMethods=false) public class ScopeConfiguration extends Object
Configuration class that provides StepScope and JobScope.
Author:
Dave Syer, Mahmoud Ben Hassine
  • Constructor Details

    • ScopeConfiguration

      public ScopeConfiguration()
  • Method Details

    • stepScope

      @Bean public static StepScope stepScope()
      Returns:
      The instance of StepScope.
    • jobScope

      @Bean public static JobScope jobScope()
      Returns:
      The instance of JobScope.