public class BasicTimerProviderFactory extends Object implements TimerProviderFactory
Constructor and Description |
---|
BasicTimerProviderFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is called when the server shuts down.
|
TimerProvider |
create(KeycloakSession session) |
String |
getId() |
void |
init(Config.Scope config)
Only called once when the factory is first created.
|
void |
postInit(KeycloakSessionFactory factory)
Called after all provider factories have been initialized
|
protected TimerTask |
putTask(String taskName,
TimerTask task) |
protected TimerTask |
removeTask(String taskName) |
public TimerProvider create(KeycloakSession session)
create
in interface ProviderFactory<TimerProvider>
public void init(Config.Scope config)
ProviderFactory
init
in interface ProviderFactory<TimerProvider>
public void postInit(KeycloakSessionFactory factory)
ProviderFactory
postInit
in interface ProviderFactory<TimerProvider>
public void close()
ProviderFactory
close
in interface ProviderFactory<TimerProvider>
public String getId()
getId
in interface ProviderFactory<TimerProvider>
Copyright © 2016 JBoss by Red Hat. All rights reserved.