]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/site/org.argeo.slc.demo.minimal/META-INF/spring/helloworld.xml
Minimal Hello World execution module
[gpl/argeo-slc.git] / demo / site / org.argeo.slc.demo.minimal / META-INF / spring / helloworld.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns:flow="http://www.argeo.org/schema/slc-flow" xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
4 xsi:schemaLocation="
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.argeo.org/schema/slc-flow http://www.argeo.org/schema/slc-flow-0.12.xsd">
7
8 <!-- Hello world -->
9 <flow:flow name="hello/HelloWorld">
10 <description>Print Hello World!</description>
11 <bean p:message="Hello World!" class="org.argeo.slc.core.execution.tasks.Echo" />
12 </flow:flow>
13
14 <flow:spec id="helloSpec">
15 <flow:primitive name="testKey" value="777" isParameter="false" />
16 </flow:spec>
17
18 <flow:flow name="hello/HelloWorldWithVar" spec="helloSpec">
19 <description>Print Hello World! with variable</description>
20 <bean p:message="Hello World! @{testKey}" class="org.argeo.slc.core.execution.tasks.Echo">
21 <flow:variable proxy-target-class="false" />
22 </bean>
23 </flow:flow>
24
25 </beans>