• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • Last Change
  • Annotate
  • Revision Log

root/tags/omero-2.5/components/server/web/WEB-INF/data.xml

Revision 534, 2.0 kB (checked in by jmoore, 3 years ago)

Fixing Spring DOCTYPE issue.

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
3
4<!--
5#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6#
7# Copyright (C) 2005 Open Microscopy Environment
8#       Massachusetts Institue of Technology,
9#       National Institutes of Health,
10#       University of Dundee
11#
12#
13#
14#    This library is free software; you can redistribute it and/or
15#    modify it under the terms of the GNU Lesser General Public
16#    License as published by the Free Software Foundation; either
17#    version 2.1 of the License, or (at your option) any later version.
18#
19#    This library is distributed in the hope that it will be useful,
20#    but WITHOUT ANY WARRANTY; without even the implied warranty of
21#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22#    Lesser General Public License for more details.
23#
24#    You should have received a copy of the GNU Lesser General Public
25#    License along with this library; if not, write to the Free Software
26#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27#
28#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29-->
30
31<!--
32#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33# Written by:  Josh Moore <josh.moore@gmx.de>
34#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35-->
36
37<!--
38
39        Only data source for all other activities
40 
41-->
42
43<beans> 
44
45        <bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
46                <property name="dataSource" ref="dataSource"/>
47        </bean>
48       
49        <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
50            <property name="driverClassName"><value>${database.driver}</value></property>
51        <property name="url"><value>${database.url}</value></property>
52            <property name="username"><value>${database.username}</value></property>
53            <property name="password"><value>${database.password}</value></property>
54        </bean>
55
56</beans>
Note: See TracBrowser for help on using the browser.

Download in other formats:

  • Plain Text
  • Original Format

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/