Package org.keycloak.services.resources
Class KeycloakApplication
java.lang.Object
jakarta.ws.rs.core.Application
org.keycloak.services.resources.KeycloakApplication
public abstract class KeycloakApplication
extends jakarta.ws.rs.core.Application
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ExportImportManagerbootstrap(KeycloakSession session) protected abstract DefaultKeycloakSessionFactoryprotected abstract voidcreateTemporaryAdmin(KeycloakSession session) protected abstract StringWARNING: This method is for use by test logic.static StringGet the temp directory as initialized by the current KeycloakApplication.protected intgetTransactionTimeout(DefaultKeycloakSessionFactory sessionFactory) protected voidprotected voidshutdown()protected voidprotected voidstartup()Methods inherited from class jakarta.ws.rs.core.Application
getClasses, getProperties, getSingletons
-
Constructor Details
-
KeycloakApplication
public KeycloakApplication()
-
-
Method Details
-
getTmpDirectory
Get the temp directory as initialized by the current KeycloakApplication.
The directory is not guaranteed to exist -
initTmpDirectory
protected void initTmpDirectory() -
getDataDir
-
startup
protected void startup() -
getTransactionTimeout
-
shutdown
protected void shutdown() -
shutdownDelayInitiated
protected void shutdownDelayInitiated() -
bootstrap
-
createTemporaryAdmin
-
createSessionFactory
-
getSessionFactory
WARNING: This method is for use by test logic. Will return null if there is no current KeycloakApplication, or if the startup has not yet reached the point of setting this value.
-