Package org.keycloak.events.jpa
Class JpaEventStoreProviderFactory
- java.lang.Object
- 
- org.keycloak.events.jpa.JpaEventStoreProviderFactory
 
- 
- All Implemented Interfaces:
- EventStoreProviderFactory,- InvalidationHandler,- ProviderFactory<EventStoreProvider>
 
 public class JpaEventStoreProviderFactory extends Object implements EventStoreProviderFactory, InvalidationHandler - Author:
- Stian Thorgersen
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.keycloak.provider.InvalidationHandlerInvalidationHandler.InvalidableObjectType, InvalidationHandler.ObjectType
 
- 
 - 
Constructor SummaryConstructors Constructor Description JpaEventStoreProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.EventStoreProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)Only called once when the factory is first created.voidinvalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params)Invalidates intermediate states of the given objectsvoidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initialized- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Field Detail- 
IDpublic static final String ID - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createpublic EventStoreProvider create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<EventStoreProvider>
 
 - 
initpublic void init(Config.Scope config) Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
- initin interface- ProviderFactory<EventStoreProvider>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<EventStoreProvider>
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<EventStoreProvider>
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<EventStoreProvider>
 
 - 
invalidatepublic void invalidate(KeycloakSession session, InvalidationHandler.InvalidableObjectType type, Object... params) Description copied from interface:InvalidationHandlerInvalidates intermediate states of the given objects- Specified by:
- invalidatein interface- InvalidationHandler
- Parameters:
- session- KeycloakSession
- type- Type of the objects to invalidate
- params- Parameters used for the invalidation
 
 
- 
 
-