Class AbstractDependsOnBeanFactoryPostProcessor

java.lang.Object
org.springframework.boot.autoconfigure.AbstractDependsOnBeanFactoryPostProcessor
All Implemented Interfaces:
BeanFactoryPostProcessor, Ordered
Direct Known Subclasses:
EntityManagerFactoryDependsOnPostProcessor

public abstract class AbstractDependsOnBeanFactoryPostProcessor extends Object implements BeanFactoryPostProcessor, Ordered
Abstract base class for a BeanFactoryPostProcessor that can be used to dynamically declare that all beans of a specific type should depend on specific other beans identified by name or type.
Since:
1.3.0
Author:
Marcel Overdijk, Dave Syer, Phillip Webb, Andy Wilkinson, Dmytro Nosan
See Also:
  • Constructor Details

    • AbstractDependsOnBeanFactoryPostProcessor

      protected AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass, Class<? extends FactoryBean<?>> factoryBeanClass, String... dependsOn)
      Create an instance with target bean, factory bean classes, and dependency names.
      Parameters:
      beanClass - target bean class
      factoryBeanClass - target factory bean class
      dependsOn - dependency names
    • AbstractDependsOnBeanFactoryPostProcessor

      protected AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass, Class<? extends FactoryBean<?>> factoryBeanClass, Class<?>... dependencyTypes)
      Create an instance with target bean, factory bean classes, and dependency types.
      Parameters:
      beanClass - target bean class
      factoryBeanClass - target factory bean class
      dependencyTypes - dependency types
      Since:
      2.1.7
    • AbstractDependsOnBeanFactoryPostProcessor

      protected AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass, String... dependsOn)
      Create an instance with target bean class and dependency names.
      Parameters:
      beanClass - target bean class
      dependsOn - dependency names
      Since:
      2.0.4
    • AbstractDependsOnBeanFactoryPostProcessor

      protected AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass, Class<?>... dependencyTypes)
      Create an instance with target bean class and dependency types.
      Parameters:
      beanClass - target bean class
      dependencyTypes - dependency types
      Since:
      2.1.7
  • Method Details