- protected void runSlcExecution(final SlcExecution slcExecution) {
- // TODO: in a separate process
- Thread thread = new Thread("SlcExecution " + slcExecution.getUuid()) {
- public void run() {
- Properties props = new Properties();
- Map<String, String> attributes = slcExecution.getAttributes();
- for (String key : attributes.keySet()) {
- props.setProperty(key, attributes.get(key));
- if (log.isTraceEnabled())
- log.trace(key + "=" + props.getProperty(key));
- }
- slcApplication.execute(slcExecution, props, null, null);
- log.debug("Thread for SLC execution #" + slcExecution.getUuid()
- + " finished.");
- }
- };
- thread.start();
+ public void setModulesManager(ExecutionModulesManager modulesManager) {
+ this.modulesManager = modulesManager;