Class BeanAliasBeanRegistrar

java.lang.Object
com.broadleafcommerce.common.extension.BeanAliasBeanRegistrar
All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

public class BeanAliasBeanRegistrar extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.core.PriorityOrdered
Registers a alias bean definition in Spring based on BeanAlias and/or BeanAliases.
Author:
Jeff Fischer
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     
    void
    registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar

    registerBeanDefinitions
  • Constructor Details

    • BeanAliasBeanRegistrar

      public BeanAliasBeanRegistrar()
  • Method Details

    • registerBeanDefinitions

      public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
      Specified by:
      registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered