Class QuarkusLiquibaseConnectionProvider
java.lang.Object
org.keycloak.quarkus.runtime.storage.legacy.liquibase.QuarkusLiquibaseConnectionProvider
- All Implemented Interfaces:
LiquibaseConnectionProvider,LiquibaseConnectionProviderFactory,EnvironmentDependentProviderFactory,Provider,ProviderFactory<LiquibaseConnectionProvider>
public class QuarkusLiquibaseConnectionProvider
extends Object
implements LiquibaseConnectionProviderFactory, LiquibaseConnectionProvider, EnvironmentDependentProviderFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidclose()create(KeycloakSession session) getId()liquibase.LiquibasegetLiquibase(Connection connection, String defaultSchema) liquibase.LiquibasegetLiquibaseForCustomUpdate(Connection connection, String defaultSchema, String changelogLocation, ClassLoader classloader, String changelogTableName) voidinit(Config.Scope config) booleanintorder()voidpostInit(KeycloakSessionFactory factory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata
-
Constructor Details
-
QuarkusLiquibaseConnectionProvider
public QuarkusLiquibaseConnectionProvider()
-
-
Method Details
-
create
- Specified by:
createin interfaceProviderFactory<LiquibaseConnectionProvider>
-
baseLiquibaseInitialization
-
init
- Specified by:
initin interfaceProviderFactory<LiquibaseConnectionProvider>
-
postInit
- Specified by:
postInitin interfaceProviderFactory<LiquibaseConnectionProvider>
-
close
public void close()- Specified by:
closein interfaceProvider- Specified by:
closein interfaceProviderFactory<LiquibaseConnectionProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<LiquibaseConnectionProvider>
-
getLiquibase
public liquibase.Liquibase getLiquibase(Connection connection, String defaultSchema) throws liquibase.exception.LiquibaseException - Specified by:
getLiquibasein interfaceLiquibaseConnectionProvider- Throws:
liquibase.exception.LiquibaseException
-
getLiquibaseForCustomUpdate
public liquibase.Liquibase getLiquibaseForCustomUpdate(Connection connection, String defaultSchema, String changelogLocation, ClassLoader classloader, String changelogTableName) throws liquibase.exception.LiquibaseException - Specified by:
getLiquibaseForCustomUpdatein interfaceLiquibaseConnectionProvider- Throws:
liquibase.exception.LiquibaseException
-
order
public int order()- Specified by:
orderin interfaceProviderFactory<LiquibaseConnectionProvider>
-
isSupported
public boolean isSupported()- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory
-