]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.simple/src/main/java/org/argeo/slc/core/execution/DefaultExecutionFlow.java
Restructure OSGi launching
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.simple / src / main / java / org / argeo / slc / core / execution / DefaultExecutionFlow.java
index d5c1b19da234d2382b6eaa108788047f73cd19ed..497e6520e86177a7b1bf79748b1f1bb11298fb33 100644 (file)
@@ -136,15 +136,7 @@ public class DefaultExecutionFlow implements ExecutionFlow, InitializingBean,
 
                if (parameters.containsKey(parameterName)) {
                        Object paramValue = parameters.get(parameterName);
-                       if (specAttr instanceof ResourceSpecAttribute) {
-                               // deal with resources
-                               Resource resource = resourceLoader.getResource(paramValue
-                                               .toString());
-                               return ((ResourceSpecAttribute) specAttr)
-                                               .convertResource(resource);
-                       } else {
-                               return paramValue;
-                       }
+                       return paramValue;
                } else {
                        if (specAttr.getValue() != null) {
                                return specAttr.getValue();