2012-01-06 08:55:05 -06:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2013-05-23 11:12:49 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2012-01-06 08:55:05 -06:00
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
|
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
|
|
|
|
<!-- IHFS Database Configuration-->
|
|
|
|
<bean id="ihfsDbSessionConfig" class="com.raytheon.uf.edex.database.DatabaseSessionConfiguration">
|
|
|
|
<property name="includes">
|
|
|
|
<list>
|
|
|
|
<value>com.raytheon.edex.plugin.shef</value>
|
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
<bean id="ihfsSessionFactory"
|
|
|
|
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
|
|
|
|
|
|
|
<property name="configLocation">
|
|
|
|
<value>file:///${edex.home}/conf/db/hibernateConfig/ihfs/hibernate.cfg.xml</value>
|
|
|
|
</property>
|
|
|
|
<property name="databaseSessionConfiguration" ref="ihfsDbSessionConfig"/>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="ihfsTxManager"
|
|
|
|
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
|
|
|
<property name="sessionFactory" ref="ihfsSessionFactory" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<!-- Dam Catalog Database Configuration-->
|
|
|
|
<bean id="damSessionFactory"
|
|
|
|
class="com.raytheon.uf.edex.database.DatabaseSessionFactoryBean">
|
|
|
|
<!-- No hibernate annotations should be loaded -->
|
|
|
|
<property name="configLocation">
|
|
|
|
<value>file:///${edex.home}/conf/db/hibernateConfig/damCatalog/hibernate.cfg.xml</value>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="damTxManager"
|
|
|
|
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
|
|
|
<property name="sessionFactory" ref="damSessionFactory" />
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="mpeFieldGenService" class="com.raytheon.uf.edex.ohd.pproc.MpeFieldGenSrv" />
|
|
|
|
|
|
|
|
|
|
|
|
</beans>
|