-// if((flowStack.get() == null) || flowStack.get().empty()) {\r
-// throw new SlcException("No flow is currently initializing."\r
-// + " Declare flow refs as inner beans or prototypes.");\r
-// }\r
-//\r
-// /*\r
-// * RefSpecAttribute refSpecAttribute = (RefSpecAttribute) attributes\r
-// * .get(name); Class<?> targetClass = refSpecAttribute.getTargetClass();\r
-// * ExecutionTargetSource targetSource = new ExecutionTargetSource(flow,\r
-// * targetClass, name); ProxyFactory proxyFactory = new ProxyFactory();\r
-// * proxyFactory.setTargetClass(targetClass);\r
-// * proxyFactory.setProxyTargetClass(true);\r
-// * proxyFactory.setTargetSource(targetSource);\r
-// * \r
-// * return proxyFactory.getProxy();\r
-// */\r
-// return flowStack.get().peek().getParameter(name);\r
+ if((flowStack.get() == null) || flowStack.get().empty()) {\r
+ throw new SlcException("No flow is currently initializing."\r
+ + " Declare ParameterRef as inner beans or prototypes.");\r
+ }\r