Class QuarkusPlatform
java.lang.Object
org.keycloak.quarkus.runtime.integration.QuarkusPlatform
- All Implemented Interfaces:
PlatformProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddInitializationException(Throwable throwable) voidstatic voidThrows aInitializationExceptionexception to indicate errors during the startup.getScriptEngineClassLoader(Config.Scope scriptProviderConfig) booleanname()voidonShutdown(Runnable shutdownHook) void
-
Constructor Details
-
QuarkusPlatform
public QuarkusPlatform()
-
-
Method Details
-
name
- Specified by:
namein interfacePlatformProvider
-
addInitializationException
-
exitOnError
Throws a
InitializationExceptionexception to indicate errors during the startup.Calling this method after the server is started has no effect but just the exception being thrown.
- Throws:
InitializationException- the exception holding all errors during startup.
-
onStartup
- Specified by:
onStartupin interfacePlatformProvider
-
onShutdown
- Specified by:
onShutdownin interfacePlatformProvider
-
exit
- Specified by:
exitin interfacePlatformProvider
-
isStarted
public boolean isStarted() -
getTmpDirectory
- Specified by:
getTmpDirectoryin interfacePlatformProvider
-
getScriptEngineClassLoader
- Specified by:
getScriptEngineClassLoaderin interfacePlatformProvider
-