org.springframework.batch.core.jsr.partition.support

## Class JsrBeanScopeBeanFactoryPostProcessor

- java.lang.Object
- - org.springframework.batch.core.jsr.partition.support.JsrBeanScopeBeanFactoryPostProcessor

- All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor

      public class JsrBeanScopeBeanFactoryPostProcessor
      extends java.lang.Object
      implements org.springframework.beans.factory.config.BeanFactoryPostProcessor

  In order for property resolution to occur correctly within the scope of a JSR-352 batch job, initialization of job level artifacts must occur on the same thread that the job is executing. To allow this to occur, `PartitionMapper`, `PartitionReducer`, and `PartitionAnalyzer` are all configured to lazy initialization (equivalent to lazy-init="true").
  Since:
    3.0
  Author:
    Michael Minella

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `JsrBeanScopeBeanFactoryPostProcessor.JobLevelBeanLazyInitializer` Looks for beans that may have dependencies that need to be lazily initialized and configures the corresponding `BeanDefinition` accordingly.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsrBeanScopeBeanFactoryPostProcessor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JsrBeanScopeBeanFactoryPostProcessor

          public JsrBeanScopeBeanFactoryPostProcessor()

  - ### Method Detail

    - #### postProcessBeanFactory

          public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                      throws org.springframework.beans.BeansException

      Specified by:
        `postProcessBeanFactory` in interface `org.springframework.beans.factory.config.BeanFactoryPostProcessor`
      Throws:
        `org.springframework.beans.BeansException`