Change-Id: Ia2a7a4ce990d424ed1e365bd7003fd2ab8630fd1 Former-commit-id:30be5ce6f9
[formerly115dc12790
] [formerly2a14245dce
[formerly 393a469e2f65894a6dd5b58c1431c3d727951eda]] Former-commit-id:2a14245dce
Former-commit-id:b0010de8ff
31 lines
No EOL
1.3 KiB
XML
31 lines
No EOL
1.3 KiB
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
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
|
|
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">
|
|
|
|
<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>
|
|
|
|
</beans> |