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 registeredBeanRemovalIdentifier
instances and enact removal of the BeanDefinition identified by each from the Spring BeanDefinitionRegistry.- Author:
- Jeff Fischer
-
-
Constructor Summary
Constructors Constructor Description BeanRemovalBeanDefinitionRegistryPostProcessor(List<BeanRemovalIdentifier> removalIdentifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
void
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
-
-
-
Constructor Detail
-
BeanRemovalBeanDefinitionRegistryPostProcessor
public BeanRemovalBeanDefinitionRegistryPostProcessor(List<BeanRemovalIdentifier> removalIdentifiers)
-
-
Method Detail
-
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
-
-