Class MergeAnnotationAwareBeanDefinitionRegistryPostProcessor

java.lang.Object
org.broadleafcommerce.common.extensibility.context.merge.MergeAnnotationAwareBeanDefinitionRegistryPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor

@Component public class MergeAnnotationAwareBeanDefinitionRegistryPostProcessor extends Object implements org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
This processor is responsible for registering Early/LateStageMergeBeanPostProcessors for Merge annotated beans and ensuring the correct prioritization of these post processors. The current ordering of the post processors will be Framework XML, Framework Merge, Client XML, and the Client Merge.
Author:
Jeff Fischer, Nick Crum (ncrum)
  • Constructor Details

    • MergeAnnotationAwareBeanDefinitionRegistryPostProcessor

      public MergeAnnotationAwareBeanDefinitionRegistryPostProcessor()
  • Method Details

    • postProcessBeanDefinitionRegistry

      public void postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeanDefinitionRegistry in interface org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • isBroadleafAnnotationBean

      protected boolean isBroadleafAnnotationBean(org.springframework.core.type.MethodMetadata metadata)
    • isBroadleafBean

      protected boolean isBroadleafBean(org.springframework.beans.factory.config.BeanDefinition beanDefinition)
    • postProcessBeanFactory

      public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
      Throws:
      org.springframework.beans.BeansException