Class ProductionLiquibaseRunner
- java.lang.Object
-
- no.priv.bang.authservice.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 Summary
Fields Modifier and Type Field Description private org.osgi.service.log.LogService
logservice
-
Constructor Summary
Constructors Constructor Description ProductionLiquibaseRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activate()
(package private) void
applyChangelistsAndTryForcingLiquibaseLockIfFailingToUnlock(DataSource datasource)
void
prepare(DataSource datasource)
void
setLogservice(org.osgi.service.log.LogService logservice)
-
-
-
Method Detail
-
setLogservice
public void setLogservice(org.osgi.service.log.LogService logservice)
-
activate
public void activate()
-
prepare
public void prepare(DataSource datasource) throws SQLException
- Specified by:
prepare
in interfaceorg.ops4j.pax.jdbc.hook.PreHook
- Throws:
SQLException
-
applyChangelistsAndTryForcingLiquibaseLockIfFailingToUnlock
void applyChangelistsAndTryForcingLiquibaseLockIfFailingToUnlock(DataSource datasource) throws liquibase.exception.LiquibaseException, SQLException
- Throws:
liquibase.exception.LiquibaseException
SQLException
-
-