org.springframework.boot

Class LazyInitializationBeanFactoryPostProcessor

  • java.lang.Object
    • org.springframework.boot.LazyInitializationBeanFactoryPostProcessor
  • All Implemented Interfaces:
    org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered


    public final class LazyInitializationBeanFactoryPostProcessor
    extends Object
    implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered
    BeanFactoryPostProcessor to set lazy-init on bean definitions that are not excluded and have not already had a value explicitly set.
    Since:
    2.2.0
    Author:
    Andy Wilkinson, Madhura Bhave, Tyler Van Gorder, Phillip Webb
    See Also:
    LazyInitializationExcludeFilter
    • Constructor Detail

      • LazyInitializationBeanFactoryPostProcessor

        public LazyInitializationBeanFactoryPostProcessor()
    • 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
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered

Copyright © 2020 Pivotal Software, Inc.. All rights reserved.