Search in sources :

Example 1 with AuthConfigurationEvent

use of org.gluu.oxauth.service.cdi.event.AuthConfigurationEvent in project oxAuth by GluuFederation.

the class AppInitializer method initTimer.

public void initTimer() {
    this.isActive = new AtomicBoolean(false);
    this.setLastFinishedTime(System.currentTimeMillis());
    timerEvent.fire(new TimerEvent(new TimerSchedule(60, DEFAULT_INTERVAL), new AuthConfigurationEvent(), Scheduled.Literal.INSTANCE));
}
Also used : AtomicBoolean(java.util.concurrent.atomic.AtomicBoolean) AuthConfigurationEvent(org.gluu.oxauth.service.cdi.event.AuthConfigurationEvent) TimerSchedule(org.gluu.service.timer.schedule.TimerSchedule) TimerEvent(org.gluu.service.timer.event.TimerEvent)

Aggregations

AtomicBoolean (java.util.concurrent.atomic.AtomicBoolean)1 AuthConfigurationEvent (org.gluu.oxauth.service.cdi.event.AuthConfigurationEvent)1 TimerEvent (org.gluu.service.timer.event.TimerEvent)1 TimerSchedule (org.gluu.service.timer.schedule.TimerSchedule)1