Class JpaSpringLiquibaseFactoryBeanRegistrar

java.lang.Object
com.broadleafcommerce.common.jpa.data.entitymanager.JpaSpringLiquibaseFactoryBeanRegistrar
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware

public class JpaSpringLiquibaseFactoryBeanRegistrar extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware
Register a SpringLiquibase bean definition based on a particular route defined by JpaDataRoute. The SpringLiquibase is exposed with the bean id JpaDataRoute.routeKey() appended by "Liquibase".
Author:
Jeff Fischer
  • Constructor Details

    • JpaSpringLiquibaseFactoryBeanRegistrar

      public JpaSpringLiquibaseFactoryBeanRegistrar()
  • Method Details

    • registerBeanDefinitions

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

      public void setEnvironment(org.springframework.core.env.Environment environment)
      Specified by:
      setEnvironment in interface org.springframework.context.EnvironmentAware