Class ProductionLiquibaseRunner
java.lang.Object
no.priv.bang.ukelonn.db.liquibase.production.ProductionLiquibaseRunner
- All Implemented Interfaces:
org.ops4j.pax.jdbc.hook.PreHook
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String(package private) static final Stringprivate org.osgi.service.log.Loggerprivate UkelonnLiquibaseFactoryFields inherited from interface org.ops4j.pax.jdbc.hook.PreHook
CONFIG_KEY_NAME, KEY_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid(package private) no.priv.bang.ukelonn.db.liquibase.UkelonnLiquibase(package private) String(package private) booleaninsertInitialDataInDatabase(DataSource datasource, no.priv.bang.ukelonn.db.liquibase.UkelonnLiquibase liquibase) voidprepare(DataSource datasource) voidsetLogService(org.osgi.service.log.LogService logService) (package private) voidsetUkelonnLiquibaseFactory(UkelonnLiquibaseFactory ukelonnLiquibaseFactory)
-
Field Details
-
INITIAL_DATA_DEFAULT_RESOURCE_NAME
- See Also:
-
logger
private org.osgi.service.log.Logger logger -
ukelonnLiquibaseFactory
-
databaselanguage
-
-
Constructor Details
-
ProductionLiquibaseRunner
public ProductionLiquibaseRunner()
-
-
Method Details
-
setLogService
public void setLogService(org.osgi.service.log.LogService logService) -
activate
-
prepare
- Specified by:
preparein interfaceorg.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
-
initialDataResourceName
String initialDataResourceName()
-