import org.argeo.slc.execution.ExecutionFlow;\r
import org.argeo.slc.execution.ExecutionSpecAttribute;\r
\r
+/** Manage parameters that need to be set during the instantiation of a flow */\r
public class InstantiationManager {\r
\r
private final static Log log = LogFactory\r
if (flow instanceof DefaultExecutionFlow) {\r
((DefaultExecutionFlow) flow).setBeanName(flowName);\r
}\r
- \r
+\r
if (log.isTraceEnabled())\r
log.trace("Start initialization of " + flow.hashCode() + " ("\r
+ flow + " - " + flow.getClass() + ")");\r
if (log.isTraceEnabled())\r
log.trace("Finish initialization of " + flow.hashCode() + " ("\r
+ flow + " - " + flow.getClass() + ")");\r
- \r
- if(flowStack.get() != null) {\r
+\r
+ if (flowStack.get() != null) {\r
ExecutionFlow registeredFlow = flowStack.get().pop();\r
if (registeredFlow != null) {\r
if (!flow.getName().equals(registeredFlow.getName()))\r
// log.info("# flowInitializationFinished " + flowName);\r
// initializingFlow.set(null);\r
}\r
- }\r
- else {\r
+ } else {\r
// happens for flows imported as services\r
log.warn("flowInitializationFinished - Flow Stack is null");\r
}\r