Package org.keycloak.timer.basic
Class BasicTimerProviderFactory
- java.lang.Object
- 
- org.keycloak.timer.basic.BasicTimerProviderFactory
 
- 
- All Implemented Interfaces:
- ProviderFactory<TimerProvider>,- TimerProviderFactory
 
 public class BasicTimerProviderFactory extends Object implements TimerProviderFactory - Author:
- Stian Thorgersen
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringTRANSACTION_TIMEOUT
 - 
Constructor SummaryConstructors Constructor Description BasicTimerProviderFactory()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()This is called when the server shuts down.TimerProvidercreate(KeycloakSession session)StringgetId()voidinit(Config.Scope config)Only called once when the factory is first created.voidpostInit(KeycloakSessionFactory factory)Called after all provider factories have been initializedprotected TimerTaskContextImplputTask(String taskName, TimerTaskContextImpl task)protected TimerTaskContextImplremoveTask(String taskName)- 
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- 
TRANSACTION_TIMEOUTpublic static final String TRANSACTION_TIMEOUT - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createpublic TimerProvider create(KeycloakSession session) - Specified by:
- createin interface- ProviderFactory<TimerProvider>
 
 - 
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<TimerProvider>
 
 - 
postInitpublic void postInit(KeycloakSessionFactory factory) Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
- postInitin interface- ProviderFactory<TimerProvider>
 
 - 
closepublic void close() Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
- closein interface- ProviderFactory<TimerProvider>
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<TimerProvider>
 
 - 
putTaskprotected TimerTaskContextImpl putTask(String taskName, TimerTaskContextImpl task) 
 - 
removeTaskprotected TimerTaskContextImpl removeTask(String taskName) 
 
- 
 
-