X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Forg.argeo.slc.execution%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fexecution%2FSimpleExecutionSpec.java;h=3399a78e731bbb9bc89b0ff94fd42d98e657aa87;hb=49d1ccd3b9f4d55d90de5e956a44bdbe83f600ef;hp=8d460ff2c22c6c301bf11fc4a571a8fec2790242;hpb=dfdce3de968e09ed7d4cf443a6bfcbc9c5e819f2;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/SimpleExecutionSpec.java b/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/SimpleExecutionSpec.java index 8d460ff2c..3399a78e7 100644 --- a/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/SimpleExecutionSpec.java +++ b/runtime/org.argeo.slc.execution/src/main/java/org/argeo/slc/execution/SimpleExecutionSpec.java @@ -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) {