Class BeanRemovalBeanDefinitionRegistryPostProcessor
java.lang.Object
com.broadleafcommerce.common.extension.BeanRemovalBeanDefinitionRegistryPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor
,org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
public class BeanRemovalBeanDefinitionRegistryPostProcessor
extends Object
implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
BeanDefinitionRegistryPostProcessor that will loop through a list of registered
BeanRemovalIdentifier
instances and enact removal of the BeanDefinition identified by
each from the Spring BeanDefinitionRegistry.- Author:
- Jeff Fischer
-
Constructor Summary
ConstructorDescriptionBeanRemovalBeanDefinitionRegistryPostProcessor
(List<BeanRemovalIdentifier> removalIdentifiers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
postProcessBeanDefinitionRegistry
(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) void
postProcessBeanFactory
(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
Constructor Details
-
BeanRemovalBeanDefinitionRegistryPostProcessor
public BeanRemovalBeanDefinitionRegistryPostProcessor(List<BeanRemovalIdentifier> removalIdentifiers)
-
-
Method Details
-
postProcessBeanDefinitionRegistry
public void postProcessBeanDefinitionRegistry(@NonNull org.springframework.beans.factory.support.BeanDefinitionRegistry registry) - Specified by:
postProcessBeanDefinitionRegistry
in interfaceorg.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
-
postProcessBeanFactory
public void postProcessBeanFactory(@NonNull org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) - Specified by:
postProcessBeanFactory
in interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor
-