]> git.argeo.org Git - gpl/argeo-slc.git/blob - demo/org.argeo.slc.demo.log4j/src/main/resources/conf/main.xml
Introduce demo Log4j
[gpl/argeo-slc.git] / demo / org.argeo.slc.demo.log4j / src / main / resources / conf / main.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans 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 xmlns:aop="http://www.springframework.org/schema/aop"
5 xsi:schemaLocation="
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
9
10 <!--
11 <bean id="testLaunch" class="org.argeo.slc.execution.old.TestLaunch"
12 p:flowName="main" init-method="launch" />
13 -->
14
15 <bean id="executionModule" class="org.argeo.slc.osgi.OsgiExecutionModule" />
16
17 <bean id="main" class="org.argeo.slc.core.execution.SimpleExecutionFlow">
18 <property name="executionSpec">
19 <bean class="org.argeo.slc.core.execution.SimpleExecutionSpec">
20 <property name="attributes">
21 <map>
22 <entry key="testKey">
23 <bean parent="specAttribute" p:value="660" />
24 </entry>
25 </map>
26 </property>
27 </bean>
28 </property>
29 <property name="executables">
30 <list>
31 <ref local="echo1" />
32 <ref bean="basic.001" />
33 <ref bean="basic.001" />
34 <ref bean="basic.002" />
35 </list>
36 </property>
37 </bean>
38
39 <bean id="echo1" parent="echoTemplate" scope="execution">
40 <property name="message"
41 value="From main! @{testKey}, slc.flows=@{slc.flows}" />
42 <aop:scoped-proxy />
43 </bean>
44
45 <bean id="echoTemplate" class="org.argeo.slc.core.execution.tasks.Echo"
46 abstract="true">
47 </bean>
48
49 </beans>