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"
4 xmlns:
tx=
"http://www.springframework.org/schema/tx"
5 xmlns:
context=
"http://www.springframework.org/schema/context"
6 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
8 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
12 DataSourceProperties allow configuring specific properties of the datasources
14 * cdmlib-remote.xslBasePath:
15 alternative base path for REST services to retrieve XSL style sheets from.
16 the base path must be on the same domain since cross domain xsl loading is
19 <bean id=
"dataSourceProperties" class=
"eu.etaxonomy.cdm.remote.config.DataSourceProperties">
20 <property name=
"propsMap">
23 <entry key="dataSourceBeanID">
25 <prop key="cdmlib-remote.xslBasePath">/xsl</prop>
33 <bean id=
"h2_cdmTest" lazy-init=
"true" class=
"com.mchange.v2.c3p0.ComboPooledDataSource">
34 <property name=
"driverClass" value=
"eu.etaxonomy.cdm.database.LocalH2"/>
35 <property name=
"user" value=
"sa" />
36 <property name=
"password" value=
"" />
37 <property name=
"jdbcUrl" value=
"jdbc:h2:file:${project.build.directory}/test-classes/h2/cdmTest"/>