--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns="http://www.springframework.org/schema/beans"\r
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"\r
+ xmlns:aop="http://www.springframework.org/schema/aop" xmlns:flow="http://www.argeo.org/schema/slc-flow"\r
+ xsi:schemaLocation="\r
+ http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+ http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd\r
+ http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">\r
+\r
+ <!-- Flow definition is simplified thanks to the 'flow:flow' element -->\r
+ <flow:flow id="flow" path="/namespace">\r
+ <bean p:message="TEST in flow" class="org.argeo.slc.core.execution.tasks.Echo" />\r
+ <ref bean="referencedRunnable" />\r
+ </flow:flow>\r
+\r
+ <bean id="referencedRunnable" p:message="TEST in referenced Runnable"\r
+ class="org.argeo.slc.core.execution.tasks.Echo" />\r
+\r
+ <!--\r
+ Standalone beans implementing Runnable can be exposed as flows via the\r
+ 'flow:as-flow' attribute\r
+ -->\r
+ <bean id="standaloneRunnable" flow:as-flow="implicitFlow"\r
+ p:message="TEST in implicit flow" class="org.argeo.slc.core.execution.tasks.Echo" />\r
+</beans>
\ No newline at end of file