]> git.argeo.org Git - gpl/argeo-slc.git/blob - lib/org.argeo.slc.lib.repo/META-INF/spring/helloworld.xml
Prepare next development cycle
[gpl/argeo-slc.git] / lib / org.argeo.slc.lib.repo / 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-1.2.xsd">
7
8 <!-- Hello world -->
9 <flow:flow name="hello">
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
15 <flow:flow name="hello-with-var">
16 <description>Print Hello World! with variable</description>
17 <flow:spec>
18 <flow:primitive name="testKey" value="777" />
19 </flow:spec>
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>