use of org.gluu.service.cdi.event.UpdateScriptEvent in project oxCore by GluuFederation.
the class CustomScriptManager method initTimer.
@Asynchronous
public void initTimer(List<CustomScriptType> supportedCustomScriptTypes) {
this.supportedCustomScriptTypes = supportedCustomScriptTypes;
configure();
final int delay = 30;
final int interval = DEFAULT_INTERVAL;
reload(true);
timerEvent.fire(new TimerEvent(new TimerSchedule(delay, interval), new UpdateScriptEvent(), Scheduled.Literal.INSTANCE));
}
Aggregations