]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - demo/modules/org.argeo.slc.demo.minimal/META-INF/spring/helloworld.xml
Rename site into modules
[gpl/argeo-slc.git] / demo / modules / org.argeo.slc.demo.minimal / META-INF / spring / helloworld.xml
diff --git a/demo/modules/org.argeo.slc.demo.minimal/META-INF/spring/helloworld.xml b/demo/modules/org.argeo.slc.demo.minimal/META-INF/spring/helloworld.xml
new file mode 100644 (file)
index 0000000..605dd08
--- /dev/null
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns:flow="http://www.argeo.org/schema/slc-flow" 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
+       xsi:schemaLocation="\r
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">\r
+\r
+       <!-- Hello world -->\r
+       <flow:flow name="hello">\r
+               <description>Print Hello World!</description>\r
+               <bean p:message="Hello World!" class="org.argeo.slc.core.execution.tasks.Echo" />\r
+       </flow:flow>\r
+\r
+       <flow:spec id="helloSpec">\r
+               <flow:primitive name="testKey" value="777" isParameter="false" />\r
+       </flow:spec>\r
+\r
+       <flow:flow name="HelloWorld/WithVar" spec="helloSpec">\r
+               <description>Print Hello World! with variable</description>\r
+               <bean p:message="Hello World! @{testKey}" class="org.argeo.slc.core.execution.tasks.Echo">\r
+                       <flow:variable proxy-target-class="false" />\r
+               </bean>\r
+       </flow:flow>\r
+\r
+</beans>
\ No newline at end of file