Search in sources :

Example 1 with MetadataValidationEvent

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

the class MetadataValidationTimer method initTimer.

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

Aggregations

MetadataValidationEvent (org.gluu.oxtrust.service.cdi.event.MetadataValidationEvent)1 TimerEvent (org.xdi.service.timer.event.TimerEvent)1 TimerSchedule (org.xdi.service.timer.schedule.TimerSchedule)1