]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
New runtime end to end (not yet working)
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 19 Jun 2008 11:53:33 +0000 (11:53 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 19 Jun 2008 11:53:33 +0000 (11:53 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@1254 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

org.argeo.slc.core/src/main/java/org/argeo/slc/runtime/SimpleSlcRuntime.java
org.argeo.slc.core/src/main/java/org/argeo/slc/runtime/SlcExecutionContext.java [new file with mode: 0644]

index e4a51588161c5305db9901f4c13570d9b1488c38..e7da7f9623d390a92bc440f14a4d9dbf0423e8cd 100644 (file)
@@ -3,7 +3,10 @@ package org.argeo.slc.runtime;
 import org.springframework.context.ApplicationContext;
 
 public class SimpleSlcRuntime implements SlcRuntime {
-       private ApplicationContext runtimeContext;
+       protected ApplicationContext runtimeContext;
+
+       public SimpleSlcRuntime() {
+       }
 
        public SimpleSlcRuntime(ApplicationContext runtimeContext) {
                this.runtimeContext = runtimeContext;
diff --git a/org.argeo.slc.core/src/main/java/org/argeo/slc/runtime/SlcExecutionContext.java b/org.argeo.slc.core/src/main/java/org/argeo/slc/runtime/SlcExecutionContext.java
new file mode 100644 (file)
index 0000000..57e491a
--- /dev/null
@@ -0,0 +1,10 @@
+package org.argeo.slc.runtime;
+
+import org.argeo.slc.core.process.SlcExecution;
+
+/** Provides access to the object used during the execution */
+public interface SlcExecutionContext {
+       public Object getBean(String name);
+
+       public SlcExecution getSlcExecution();
+}