public class DefaultLiquibaseConnectionProvider extends Object implements LiquibaseConnectionProviderFactory, LiquibaseConnectionProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
INDEX_CREATION_THRESHOLD_PARAM |
| 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, waitorderpublic static final String INDEX_CREATION_THRESHOLD_PARAM
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 Providerclose 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 LiquibaseConnectionProviderliquibase.exception.LiquibaseExceptionpublic liquibase.Liquibase getLiquibaseForCustomUpdate(Connection connection, String defaultSchema, String changelogLocation, ClassLoader classloader, String changelogTableName) throws liquibase.exception.LiquibaseException
getLiquibaseForCustomUpdate in interface LiquibaseConnectionProviderliquibase.exception.LiquibaseExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.