use of org.olat.modules.vitero.ViteroModule in project openolat by klemens.
the class ViteroZombieSlayerJob method executeWithDB.
@Override
public void executeWithDB(JobExecutionContext arg0) {
ViteroModule module = (ViteroModule) CoreSpringFactory.getBean("viteroModule");
if (!module.isEnabled())
return;
ViteroManager viteroManager = (ViteroManager) CoreSpringFactory.getBean("viteroManager");
if (viteroManager.checkConnection()) {
viteroManager.slayZombies();
}
}
use of org.olat.modules.vitero.ViteroModule in project OpenOLAT by OpenOLAT.
the class ViteroZombieSlayerJob method executeWithDB.
@Override
public void executeWithDB(JobExecutionContext arg0) {
ViteroModule module = (ViteroModule) CoreSpringFactory.getBean("viteroModule");
if (!module.isEnabled())
return;
ViteroManager viteroManager = (ViteroManager) CoreSpringFactory.getBean("viteroManager");
if (viteroManager.checkConnection()) {
viteroManager.slayZombies();
}
}
Aggregations