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 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 interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
    • postProcessBeanFactory

      public void postProcessBeanFactory(@NonNull org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
      Specified by:
      postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor