import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.argeo.security.ArgeoSecurityService;
import org.argeo.slc.dao.runtime.SlcAgentDescriptorDao;
import org.argeo.slc.runtime.SlcAgent;
import org.argeo.slc.runtime.SlcAgentDescriptor;
private final SlcAgentDescriptorDao slcAgentDescriptorDao;
private final SlcAgentFactory agentFactory;
- private Executor securityService;
+ private Executor systemExecutor;
private Long pingCycle = 20000l;
if (pingCycle > 0) {
Thread authenticatedThread = new Thread("SLC Agents Ping") {
public void run() {
- securityService.execute(new AgentsPing());
+ systemExecutor.execute(new AgentsPing());
}
};
authenticatedThread.start();
this.pingCycle = pingCycle;
}
- public void setSecurityService(Executor securityService) {
- this.securityService = securityService;
+ public void setSystemExecutor(Executor securityService) {
+ this.systemExecutor = securityService;
}
protected class AgentsPing implements Runnable {