1 package org
.argeo
.slc
.core
.execution
;
3 import java
.util
.ArrayList
;
6 import org
.argeo
.slc
.execution
.ExecutionModulesManager
;
7 import org
.argeo
.slc
.process
.SlcExecution
;
8 import org
.argeo
.slc
.process
.SlcExecutionNotifier
;
10 public abstract class AbstractExecutionModulesManager
implements
11 ExecutionModulesManager
{
12 private List
<SlcExecutionNotifier
> slcExecutionNotifiers
= new ArrayList
<SlcExecutionNotifier
>();
13 private ThreadGroup processesThreadGroup
= new ThreadGroup("Processes");
15 public void process(SlcExecution slcExecution
) {
16 new ProcessThread(this, slcExecution
).start();
19 public void setSlcExecutionNotifiers(
20 List
<SlcExecutionNotifier
> slcExecutionNotifiers
) {
21 this.slcExecutionNotifiers
= slcExecutionNotifiers
;
24 public List
<SlcExecutionNotifier
> getSlcExecutionNotifiers() {
25 return slcExecutionNotifiers
;
28 public ThreadGroup
getProcessesThreadGroup() {
29 return processesThreadGroup
;