Class ProductionLiquibaseRunner

java.lang.Object
no.priv.bang.ukelonn.db.liquibase.production.ProductionLiquibaseRunner
All Implemented Interfaces:
org.ops4j.pax.jdbc.hook.PreHook

public class ProductionLiquibaseRunner extends Object implements org.ops4j.pax.jdbc.hook.PreHook
  • Field Details

    • INITIAL_DATA_DEFAULT_RESOURCE_NAME

      static final String INITIAL_DATA_DEFAULT_RESOURCE_NAME
      See Also:
    • logger

      private org.osgi.service.log.Logger logger
    • ukelonnLiquibaseFactory

      private UkelonnLiquibaseFactory ukelonnLiquibaseFactory
    • databaselanguage

      private String databaselanguage
  • Constructor Details

    • ProductionLiquibaseRunner

      public ProductionLiquibaseRunner()
  • Method Details

    • setLogService

      public void setLogService(org.osgi.service.log.LogService logService)
    • activate

      public void activate(Map<String,Object> config)
    • prepare

      public void prepare(DataSource datasource) throws SQLException
      Specified by:
      prepare in interface org.ops4j.pax.jdbc.hook.PreHook
      Throws:
      SQLException
    • insertInitialDataInDatabase

      boolean insertInitialDataInDatabase(DataSource datasource, no.priv.bang.ukelonn.db.liquibase.UkelonnLiquibase liquibase)
    • createUkelonnLiquibase

      no.priv.bang.ukelonn.db.liquibase.UkelonnLiquibase createUkelonnLiquibase()
    • setUkelonnLiquibaseFactory

      void setUkelonnLiquibaseFactory(UkelonnLiquibaseFactory ukelonnLiquibaseFactory)
    • initialDataResourceName

      String initialDataResourceName()