Class BeanAwareSpringLiquibaseConfiguration

java.lang.Object
liquibase.integration.spring.SpringLiquibase
org.qubership.atp.environments.config.BeanAwareSpringLiquibaseConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ResourceLoaderAware

public class BeanAwareSpringLiquibaseConfiguration extends liquibase.integration.spring.SpringLiquibase
  • Field Summary

    Fields inherited from class liquibase.integration.spring.SpringLiquibase

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static final <T> T
    getBean(Class<T> beanClass)
    Static method for get beans in liquibase task changes.
    void
    setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
     

    Methods inherited from class liquibase.integration.spring.SpringLiquibase

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

    Methods inherited from class java.lang.Object

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

    • BeanAwareSpringLiquibaseConfiguration

      public BeanAwareSpringLiquibaseConfiguration()
  • Method Details

    • getBean

      public static final <T> T getBean(Class<T> beanClass) throws Exception
      Static method for get beans in liquibase task changes.
      Throws:
      Exception
    • setResourceLoader

      public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
      Specified by:
      setResourceLoader in interface org.springframework.context.ResourceLoaderAware
      Overrides:
      setResourceLoader in class liquibase.integration.spring.SpringLiquibase