public abstract class AbstractDependsOnBeanFactoryPostProcessor extends Object implements BeanFactoryPostProcessor
BeanFactoryPostProcessor
that can be used to
dynamically declare that all beans of a specific type should depend on one or more
specific beans.BeanDefinition.setDependsOn(String[])
Modifier | Constructor and Description |
---|---|
protected |
AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass,
Class<? extends FactoryBean<?>> factoryBeanClass,
String... dependsOn) |
protected |
AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass,
String... dependsOn)
Create an instance with target bean class and dependencies.
|
Modifier and Type | Method and Description |
---|---|
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
protected AbstractDependsOnBeanFactoryPostProcessor(Class<?> beanClass, Class<? extends FactoryBean<?>> factoryBeanClass, String... dependsOn)
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
postProcessBeanFactory
in interface BeanFactoryPostProcessor
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.