2013-02-12 11:56:07 -06:00
|
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2013-03-27 17:12:52 -05:00
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:util="http://www.springframework.org/schema/util"
|
|
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
|
2013-02-12 11:56:07 -06:00
|
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd
|
|
|
|
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">
|
|
|
|
|
2013-03-27 17:12:52 -05:00
|
|
|
<bean id="retrievalTransactionInterceptor"
|
|
|
|
class="org.springframework.transaction.interceptor.TransactionInterceptor">
|
|
|
|
<property name="transactionManager" ref="metadataTxManager" />
|
|
|
|
<property name="transactionAttributes">
|
|
|
|
<props>
|
|
|
|
<prop key="*">PROPAGATION_REQUIRED</prop>
|
|
|
|
</props>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="retrievalDao" class="org.springframework.aop.framework.ProxyFactoryBean">
|
|
|
|
<property name="target" ref="retrievalDaoImpl" />
|
|
|
|
<property name="interceptorNames">
|
|
|
|
<list>
|
|
|
|
<value>retrievalTransactionInterceptor</value>
|
|
|
|
</list>
|
|
|
|
</property>
|
|
|
|
</bean>
|
|
|
|
|
|
|
|
<bean id="retrievalDaoImpl"
|
|
|
|
class="com.raytheon.uf.edex.datadelivery.retrieval.db.RetrievalDao">
|
|
|
|
<property name="sessionFactory" ref="metadataSessionFactory" />
|
|
|
|
</bean>
|
2013-02-12 11:56:07 -06:00
|
|
|
|
|
|
|
</beans>
|