]> 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 configuration
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.castor / src / main / resources / org / argeo / slc / castor / spring.xml
1
2 <!--
3
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org> Licensed under
5 the Apache License, Version 2.0 (the "License"); you may not use this
6 file except in compliance with the License. You may obtain a copy of
7 the License at http://www.apache.org/licenses/LICENSE-2.0 Unless
8 required by applicable law or agreed to in writing, software
9 distributed under the License is distributed on an "AS IS" BASIS,
10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
11 implied. See the License for the specific language governing
12 permissions and limitations under the License.
13 -->
14
15 <beans xmlns="http://www.springframework.org/schema/beans"
16 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
18 default-lazy-init="true">
19
20 <bean id="slcDefault.castor.marshaller" class="org.springframework.oxm.castor.CastorMarshaller">
21 <property name="mappingLocations">
22 <list>
23 <value>
24 classpath:org/argeo/slc/castor/msg.xml
25 </value>
26 <value>
27 classpath:org/argeo/slc/castor/process.xml
28 </value>
29 <value>
30 classpath:org/argeo/slc/castor/runtime.xml
31 </value>
32 <value>
33 classpath:org/argeo/slc/castor/structure.xml
34 </value>
35 <value>
36 classpath:org/argeo/slc/castor/test.xml
37 </value>
38 <value>
39 classpath:org/argeo/slc/castor/execution.xml
40 </value>
41 <value>
42 classpath:org/argeo/slc/castor/attachment.xml
43 </value>
44 <value>
45 classpath:org/argeo/slc/castor/build.xml
46 </value>
47 </list>
48 </property>
49 <property name="whitespacePreserve" value="true" />
50 <property name="encoding" value="UTF-8" />
51 </bean>
52
53 <bean id="slcDefault.castor.xsltReportGenerator" class="org.argeo.slc.xml.test.tree.XsltReportGenerator"
54 init-method="init">
55 <property name="xsltStyleSheet"
56 value="classpath:/org/argeo/slc/core/test/tree/basicReport.xslt" />
57 <property name="marshaller" ref="slcDefault.castor.marshaller" />
58 <property name="logXml" value="false" />
59 <property name="outputDir" value="${user.dir}/results/html" />
60 </bean>
61
62 <bean name="slcDefault.castor.fileSlcExecutionNotifier" class="org.argeo.slc.xml.process.FileSlcExecutionNotifier">
63 <property name="basePath" value="${user.dir}/process" />
64 <property name="marshaller" ref="slcDefault.castor.marshaller" />
65 </bean>
66
67 </beans>