クラス DataSourceClosingSpringLiquibase

java.lang.ObjectSE
liquibase.integration.spring.SpringLiquibase
org.springframework.boot.autoconfigure.liquibase.DataSourceClosingSpringLiquibase
実装されたすべてのインターフェース:
AwareBeanNameAwareDisposableBeanInitializingBeanResourceLoaderAware

public class DataSourceClosingSpringLiquibase extends liquibase.integration.spring.SpringLiquibase implements DisposableBean
データベースが移行されると、基になる DataSourceSE を閉じるカスタム SpringLiquibase 拡張。
導入:
2.0.6
作成者:
Andy Wilkinson
  • フィールドサマリー

    クラス liquibase.integration.spring.SpringLiquibase から継承されたフィールド

    beanName, changeLog, clearCheckSums, contexts, databaseChangeLogLockTable, databaseChangeLogTable, dataSource, defaultSchema, dropFirst, labelFilter, liquibaseSchema, liquibaseTablespace, log, parameters, resourceLoader, rollbackFile, shouldRun, showSummary, showSummaryOutput, tag, testRollbackOnUpdate, uiService
  • コンストラクターのサマリー

    コンストラクター
    コンストラクター
    説明
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    void
    void
    setCloseDataSourceOnceMigrated(boolean closeDataSourceOnceMigrated)

    クラス liquibase.integration.spring.SpringLiquibase から継承されたメソッド

    createDatabase, createLiquibase, createResourceOpener, getBeanName, getChangeLog, getContexts, getDatabaseChangeLogLockTable, getDatabaseChangeLogTable, getDatabaseProductName, getDataSource, getDefaultSchema, getLabelFilter, getLabels, getLiquibaseSchema, getLiquibaseTablespace, getResourceLoader, getTag, getUiService, isClearCheckSums, isDropFirst, isTestRollbackOnUpdate, performUpdate, setBeanName, setChangeLog, setChangeLogParameters, setClearCheckSums, setContexts, setDatabaseChangeLogLockTable, setDatabaseChangeLogTable, setDataSource, setDefaultSchema, setDropFirst, setLabelFilter, setLabels, setLiquibaseSchema, setLiquibaseTablespace, setResourceLoader, setRollbackFile, setShouldRun, setShowSummary, setShowSummaryOutput, setTag, setTestRollbackOnUpdate, setUiService, toString

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
  • コンストラクターの詳細

    • DataSourceClosingSpringLiquibase

      public DataSourceClosingSpringLiquibase()
  • メソッドの詳細

    • setCloseDataSourceOnceMigrated

      public void setCloseDataSourceOnceMigrated(boolean closeDataSourceOnceMigrated)
    • afterPropertiesSet

      public void afterPropertiesSet() throws liquibase.exception.LiquibaseException
      次で指定:
      インターフェース InitializingBeanafterPropertiesSet 
      オーバーライド:
      クラス liquibase.integration.spring.SpringLiquibaseafterPropertiesSet 
      例外:
      liquibase.exception.LiquibaseException
    • destroy

      public void destroy() throws ExceptionSE
      次で指定:
      インターフェース DisposableBeandestroy 
      例外:
      ExceptionSE