Search in sources :

Example 1 with ConfigurationEvent

use of org.gluu.service.cdi.event.ConfigurationEvent in project oxTrust by GluuFederation.

the class ConfigurationFactory method initTimer.

public void initTimer() {
    log.debug("Initializing Configuration Timer");
    final int delay = 30;
    final int interval = DEFAULT_INTERVAL;
    timerEvent.fire(new TimerEvent(new TimerSchedule(delay, interval), new ConfigurationEvent(), Scheduled.Literal.INSTANCE));
}
Also used : ConfigurationEvent(org.gluu.service.cdi.event.ConfigurationEvent) TimerSchedule(org.gluu.service.timer.schedule.TimerSchedule) TimerEvent(org.gluu.service.timer.event.TimerEvent)

Aggregations

ConfigurationEvent (org.gluu.service.cdi.event.ConfigurationEvent)1 TimerEvent (org.gluu.service.timer.event.TimerEvent)1 TimerSchedule (org.gluu.service.timer.schedule.TimerSchedule)1