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:aop="http://www.springframework.org/schema/aop"
5 xmlns:context="http://www.springframework.org/schema/context"
7 http://www.springframework.org/schema/beans
8 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
9 http://www.springframework.org/schema/aop
10 http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
11 http://www.springframework.org/schema/context
12 http://www.springframework.org/schema/context/spring-context-3.0.xsd">
14 <bean id="baseMessageSource" class="org.springframework.context.support.ResourceBundleMessageSource">
15 <property name="basenames">
17 <value>application</value>
18 <value>log-messages</value>
23 <!-- TODO: Replace database by services and DAOs -->
24 <bean id="database" class="org.splat.dal.dao.som.Database" factory-method="getInstance">
25 <property name="sessionFactory" ref="simanSessionFactory" />
26 <property name="indexService" ref="indexService" />
27 <property name="userService" ref="userService" />
28 <property name="repositoryService" ref="repositoryService" />
31 <bean id="genericDAO" class="org.splat.dal.dao.kernel.AbstractGenericDAOImpl"
33 <property name="sessionFactory" ref="simanSessionFactory" />