]> git.argeo.org Git - gpl/argeo-slc.git/blob - runtime/org.argeo.slc.support.castor/src/main/resources/org/argeo/slc/castor/spring.xml
Improve spring templates
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / main / resources / org / argeo / slc / castor / spring.xml
1 <beans xmlns="http://www.springframework.org/schema/beans"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
4 default-lazy-init="true">
5
6 <bean id="slcDefault.castor.marshaller" class="org.springframework.oxm.castor.CastorMarshaller">
7 <property name="mappingLocations">
8 <list>
9 <value>
10 classpath:org/argeo/slc/castor/msg.xml
11 </value>
12 <value>
13 classpath:org/argeo/slc/castor/process.xml
14 </value>
15 <value>
16 classpath:org/argeo/slc/castor/runtime.xml
17 </value>
18 <value>
19 classpath:org/argeo/slc/castor/structure.xml
20 </value>
21 <value>
22 classpath:org/argeo/slc/castor/test.xml
23 </value>
24 <value>
25 classpath:org/argeo/slc/castor/execution.xml
26 </value>
27 <value>
28 classpath:org/argeo/slc/castor/attachment.xml
29 </value>
30 <value>
31 classpath:org/argeo/slc/castor/build.xml
32 </value>
33 </list>
34 </property>
35 <property name="whitespacePreserve" value="true" />
36 <property name="encoding" value="UTF-8" />
37 </bean>
38
39 <bean id="slcDefault.castor.xsltReportGenerator" class="org.argeo.slc.xml.test.tree.XsltReportGenerator"
40 init-method="init">
41 <property name="xsltStyleSheet"
42 value="classpath:/org/argeo/slc/core/test/tree/basicReport.xslt" />
43 <property name="marshaller" ref="slcDefault.castor.marshaller" />
44 <property name="logXml" value="false" />
45 <property name="outputDir" value="${slc.workDir}/results/html" />
46 </bean>
47
48 <bean name="slcDefault.castor.fileSlcExecutionNotifier" class="org.argeo.slc.xml.process.FileSlcExecutionNotifier">
49 <property name="basePath" value="${slc.workDir}/process" />
50 <property name="marshaller" ref="slcDefault.castor.marshaller" />
51 </bean>
52
53 </beans>