public class DefaultLiquibaseConnectionProvider extends Object implements LiquibaseConnectionProviderFactory, LiquibaseConnectionProvider
Constructor and Description |
---|
DefaultLiquibaseConnectionProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
baseLiquibaseInitialization() |
void |
close() |
LiquibaseConnectionProvider |
create(KeycloakSession session) |
String |
getId() |
liquibase.Liquibase |
getLiquibase(Connection connection,
String defaultSchema) |
liquibase.Liquibase |
getLiquibaseForCustomUpdate(Connection connection,
String defaultSchema,
String changelogLocation,
ClassLoader classloader,
String changelogTableName) |
void |
init(Config.Scope config) |
void |
postInit(KeycloakSessionFactory factory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
order
public LiquibaseConnectionProvider create(KeycloakSession session)
create
in interface ProviderFactory<LiquibaseConnectionProvider>
protected void baseLiquibaseInitialization()
public void init(Config.Scope config)
init
in interface ProviderFactory<LiquibaseConnectionProvider>
public void postInit(KeycloakSessionFactory factory)
postInit
in interface ProviderFactory<LiquibaseConnectionProvider>
public void close()
close
in interface Provider
close
in interface ProviderFactory<LiquibaseConnectionProvider>
public String getId()
getId
in interface ProviderFactory<LiquibaseConnectionProvider>
public liquibase.Liquibase getLiquibase(Connection connection, String defaultSchema) throws liquibase.exception.LiquibaseException
getLiquibase
in interface LiquibaseConnectionProvider
liquibase.exception.LiquibaseException
public liquibase.Liquibase getLiquibaseForCustomUpdate(Connection connection, String defaultSchema, String changelogLocation, ClassLoader classloader, String changelogTableName) throws liquibase.exception.LiquibaseException
getLiquibaseForCustomUpdate
in interface LiquibaseConnectionProvider
liquibase.exception.LiquibaseException
Copyright © 2021 JBoss by Red Hat. All rights reserved.