Class IridaApiJdbcDataSourceConfig.ApplicationContextAwareSpringLiquibase

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware
    Enclosing class:
    IridaApiJdbcDataSourceConfig

    public static class IridaApiJdbcDataSourceConfig.ApplicationContextAwareSpringLiquibase
    extends liquibase.integration.spring.SpringLiquibase
    Custom implementation of the SpringLiquibase bean (for doing liquibase on spring startup) that exposes the application context so that we can have access to the application context in custom java changesets.
    • Field Summary

      • Fields inherited from class liquibase.integration.spring.SpringLiquibase

        beanName, changeLog, clearCheckSums, contexts, databaseChangeLogLockTable, databaseChangeLogTable, dataSource, defaultSchema, dropFirst, labels, liquibaseSchema, liquibaseTablespace, log, parameters, resourceLoader, rollbackFile, shouldRun, tag, testRollbackOnUpdate
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected liquibase.integration.spring.SpringResourceAccessor createResourceOpener()  
      • Methods inherited from class liquibase.integration.spring.SpringLiquibase

        afterPropertiesSet, createDatabase, createLiquibase, getBeanName, getChangeLog, getContexts, getDatabaseChangeLogLockTable, getDatabaseChangeLogTable, getDatabaseProductName, getDataSource, getDefaultSchema, getLabels, getLiquibaseSchema, getLiquibaseTablespace, getResourceLoader, getTag, isClearCheckSums, isDropFirst, isIgnoreClasspathPrefix, isTestRollbackOnUpdate, performUpdate, setBeanName, setChangeLog, setChangeLogParameters, setClearCheckSums, setContexts, setDatabaseChangeLogLockTable, setDatabaseChangeLogTable, setDataSource, setDefaultSchema, setDropFirst, setIgnoreClasspathPrefix, setLabels, setLiquibaseSchema, setLiquibaseTablespace, setResourceLoader, setRollbackFile, setShouldRun, setTag, setTestRollbackOnUpdate, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ApplicationContextAwareSpringLiquibase

        public ApplicationContextAwareSpringLiquibase​(org.springframework.context.ApplicationContext applicationContext)
    • Method Detail

      • createResourceOpener

        protected liquibase.integration.spring.SpringResourceAccessor createResourceOpener()
        Overrides:
        createResourceOpener in class liquibase.integration.spring.SpringLiquibase