Class CircularBeanReferencesEnabler

java.lang.Object
io.jmix.core.impl.CircularBeanReferencesEnabler
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor

public class CircularBeanReferencesEnabler extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Since Spring Boot 2.6 circular references prohibited by default. This BeanFactoryPostProcessor implementation enables circular references between beans for compatibility reasons.
  • Constructor Details

    • CircularBeanReferencesEnabler

      public CircularBeanReferencesEnabler()
  • Method Details

    • 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