Package ch.tocco.nice2.boot.api
Class AbstractBeanRemovalPostProcessor
java.lang.Object
ch.tocco.nice2.boot.api.AbstractBeanRemovalPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
- Direct Known Subclasses:
DevconBeanFactoryPostProcessor
,GreenmailBeanFactoryPostProcessor
public abstract class AbstractBeanRemovalPostProcessor
extends Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Used to remove certain beans from the bean factory when the production profile is active.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessBeanFactory
(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf) protected abstract boolean
shouldRemove
(String className)
-
Constructor Details
-
AbstractBeanRemovalPostProcessor
public AbstractBeanRemovalPostProcessor()
-
-
Method Details
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf) throws org.springframework.beans.BeansException - Specified by:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
- Throws:
org.springframework.beans.BeansException
-
shouldRemove
-