Package org.keycloak.models
Interface KeycloakSessionFactory
- All Superinterfaces:
InvalidationHandler
,ProviderEventManager
- All Known Implementing Classes:
DefaultKeycloakSessionFactory
,ImportSessionFactoryWrapper
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.keycloak.provider.InvalidationHandler
InvalidationHandler.InvalidableObjectType, InvalidationHandler.ObjectType
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
create()
getProviderFactoriesStream
(Class<? extends Provider> clazz) Returns stream of provider factories for the given provider.<T extends Provider>
ProviderFactory<T>getProviderFactory
(Class<T> clazz) <T extends Provider>
ProviderFactory<T>getProviderFactory
(Class<T> clazz, String id) <T extends Provider>
ProviderFactory<T>getProviderFactory
(Class<T> clazz, String realmId, String componentId, Function<KeycloakSessionFactory, ComponentModel> modelGetter) long
getSpis()
Methods inherited from interface org.keycloak.provider.InvalidationHandler
invalidate
Methods inherited from interface org.keycloak.provider.ProviderEventManager
publish, register, unregister
-
Method Details
-
create
KeycloakSession create() -
getSpis
-
getSpi
-
getProviderFactory
-
getProviderFactory
-
getProviderFactory
<T extends Provider> ProviderFactory<T> getProviderFactory(Class<T> clazz, String realmId, String componentId, Function<KeycloakSessionFactory, ComponentModel> modelGetter) -
getProviderFactoriesStream
Returns stream of provider factories for the given provider.- Parameters:
clazz
-Class<? extends Provider>
- Returns:
Stream<ProviderFactory>
Stream of provider factories. Never returnsnull
.
-
getServerStartupTimestamp
long getServerStartupTimestamp() -
close
void close()
-