1 <?xml version=
"1.0" encoding=
"UTF-8"?>
4 Copyright (C) 2010 Mathieu Baudier <mbaudier@argeo.org>
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
10 http://www.apache.org/licenses/LICENSE-2.0
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
20 <beans xmlns=
"http://www.springframework.org/schema/beans"
21 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance"
22 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"
23 default-lazy-init=
"true">
25 <bean id=
"slcTemplates.sessionFactory.hibernateBasic" abstract=
"true"
26 class=
"org.springframework.orm.hibernate3.LocalSessionFactoryBean">
27 <property name=
"mappingResources">
30 org/argeo/slc/hibernate/structure/SimpleSElement.hbm.xml
33 org/argeo/slc/hibernate/test/SimpleResultPart.hbm.xml
36 org/argeo/slc/hibernate/test/tree/TreeTestResult.hbm.xml
39 org/argeo/slc/hibernate/test/tree/TreeTestResultCollection.hbm.xml
42 org/argeo/slc/hibernate/test/tree/PartSubList.hbm.xml
45 org/argeo/slc/hibernate/test/TestRunDescriptor.hbm.xml
48 org/argeo/slc/hibernate/process/SlcExecution.hbm.xml
51 org/argeo/slc/hibernate/process/SlcExecutionStep.hbm.xml
54 org/argeo/slc/hibernate/runtime/SlcAgentDescriptor.hbm.xml
57 org/argeo/slc/hibernate/attachment/SimpleAttachment.hbm.xml
61 <property name=
"cacheProvider" ref=
"slcDefault.cacheProvider.ehCache" />
64 <bean id=
"slcDefault.cacheProvider.ehCache" class=
"net.sf.ehcache.hibernate.SingletonEhCacheProvider"
65 depends-on=
"slcDefault.cacheProvider.ehCacheManager">
68 <bean id=
"slcDefault.cacheProvider.ehCacheManager"
69 class=
"org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
70 <property name=
"shared" value=
"true" />
71 <property name=
"configLocation"
72 value=
"classpath:/org/argeo/slc/hibernate/ehcache.xml" />