Project

General

Profile

Download (1.8 KB) Statistics
| Branch: | Tag: | Revision:
1 ab04087e Cherian Mathew
<?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
9
    ">
10
11
    <!--
12
      DataSourceProperties allow configuring specific properties of the datasources
13
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
17
            not permitted
18
      -->
19
      <bean id="dataSourceProperties" class="eu.etaxonomy.cdm.remote.config.DataSourceProperties">
20
        <property name="propsMap">
21
          <map>
22
            <!--
23
            <entry key="dataSourceBeanID">
24
                <props>
25
                    <prop key="cdmlib-remote.xslBasePath">/xsl</prop>
26
                </props>
27
            </entry>
28
             -->
29
            </map>
30
        </property>
31
      </bean>
32
    <bean id="h2_cdmTest"  lazy-init="true" class="com.mchange.v2.c3p0.ComboPooledDataSource">
33
        <property name="driverClass" value="eu.etaxonomy.cdm.database.LocalH2"/>
34
        <property name="user" value="sa" />
35
        <property name="password" value="" />
36
        <property name="jdbcUrl" value="jdbc:h2:file:${project.build.directory}/test-classes/h2/cdmTest"/>
37
    </bean>
38 2969d864 Andreas Kohlbecker
    
39 ab04087e Cherian Mathew
</beans>