クラス DataSourceClosingSpringLiquibase
java.lang.ObjectSE
liquibase.integration.spring.SpringLiquibase
org.springframework.boot.autoconfigure.liquibase.DataSourceClosingSpringLiquibase
- 実装されているすべてのインターフェース:
Aware、BeanNameAware、DisposableBean、InitializingBean、ResourceLoaderAware
public class DataSourceClosingSpringLiquibase
extends liquibase.integration.spring.SpringLiquibase
implements DisposableBean
データベースが移行されると、基になる
DataSourceSE を閉じるカスタム SpringLiquibase 拡張。- 導入:
- 2.0.6
- 作成者:
- Andy Wilkinson
フィールドのサマリー
クラス liquibase.integration.spring.SpringLiquibase から継承されたフィールド
analyticsEnabled, beanName, changeLog, clearCheckSums, contexts, customizer, databaseChangeLogLockTable, databaseChangeLogTable, dataSource, defaultSchema, dropFirst, labelFilter, licenseKey, liquibaseSchema, liquibaseTablespace, log, parameters, resourceLoader, rollbackFile, shouldRun, showSummary, showSummaryOutput, tag, testRollbackOnUpdate, uiServiceコンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明voidvoiddestroy()voidsetCloseDataSourceOnceMigrated(boolean closeDataSourceOnceMigrated) クラス liquibase.integration.spring.SpringLiquibase から継承されたメソッド
createDatabase, createLiquibase, createResourceOpener, getAnalyticsEnabled, getBeanName, getChangeLog, getContexts, getCustomizer, getDatabaseChangeLogLockTable, getDatabaseChangeLogTable, getDatabaseProductName, getDataSource, getDefaultSchema, getLabelFilter, getLabels, getLicenseKey, getLiquibaseSchema, getLiquibaseTablespace, getResourceLoader, getTag, getUiService, isClearCheckSums, isDropFirst, isTestRollbackOnUpdate, performUpdate, setAnalyticsEnabled, setBeanName, setChangeLog, setChangeLogParameters, setClearCheckSums, setContexts, setCustomizer, setDatabaseChangeLogLockTable, setDatabaseChangeLogTable, setDataSource, setDefaultSchema, setDropFirst, setLabelFilter, setLabels, setLicenseKey, setLiquibaseSchema, setLiquibaseTablespace, setResourceLoader, setRollbackFile, setShouldRun, setShowSummary, setShowSummaryOutput, setTag, setTestRollbackOnUpdate, setUiService, toString
コンストラクターの詳細
DataSourceClosingSpringLiquibase
public DataSourceClosingSpringLiquibase()
メソッドの詳細
setCloseDataSourceOnceMigrated
public void setCloseDataSourceOnceMigrated(boolean closeDataSourceOnceMigrated) afterPropertiesSet
public void afterPropertiesSet() throws liquibase.exception.LiquibaseException- 次で指定:
- インターフェース
InitializingBeanのafterPropertiesSet - オーバーライド:
- クラス
liquibase.integration.spring.SpringLiquibaseのafterPropertiesSet - 例外:
liquibase.exception.LiquibaseException
destroy
- 次で指定:
- インターフェース
DisposableBeanのdestroy - 例外:
ExceptionSE