Class 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
    • 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