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