Class IridaApiJdbcDataSourceConfig.ApplicationContextAwareSpringLiquibase
- java.lang.Object
-
- liquibase.integration.spring.SpringLiquibase
-
- ca.corefacility.bioinformatics.irida.config.data.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
IridaApiJdbcDataSourceConfig.ApplicationContextAwareSpringLiquibase.ApplicationContextSpringResourceOpener
Custom SpringResourceOpener that gives access to the application context.
-
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
-
-
Constructor Summary
Constructors Constructor Description ApplicationContextAwareSpringLiquibase(org.springframework.context.ApplicationContext applicationContext)
-
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
-
-