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) |
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 © 2019 Pivotal Software, Inc.. All rights reserved.