]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/SimpleExecutionSpec.java
Adapt to OSGi
[gpl/argeo-slc.git] / runtime / org.argeo.slc.execution / src / main / java / org / argeo / slc / execution / SimpleExecutionSpec.java
index 8d460ff2c22c6c301bf11fc4a571a8fec2790242..3399a78e731bbb9bc89b0ff94fd42d98e657aa87 100644 (file)
@@ -27,7 +27,7 @@ public class SimpleExecutionSpec implements ExecutionSpec, BeanNameAware {
                if (flow == null)
                        throw new SlcException("No flow is currently initializing."
                                        + " Declare flow refs as inner beans or prototypes.");
-
+/*
                RefSpecAttribute refSpecAttribute = (RefSpecAttribute) attributes
                                .get(name);
                Class<?> targetClass = refSpecAttribute.getTargetClass();
@@ -38,7 +38,8 @@ public class SimpleExecutionSpec implements ExecutionSpec, BeanNameAware {
                proxyFactory.setProxyTargetClass(true);
                proxyFactory.setTargetSource(targetSource);
 
-               return proxyFactory.getProxy();
+               return proxyFactory.getProxy();*/
+               return flow.getParameter(name);
        }
 
        public void setBeanName(String name) {