Change-Id: Ia040164481647fc384a264cd2126b8f9438df594 Former-commit-id: b0ad25ccd9e20b6bf994a3a46ce38298c363adff
29 lines
No EOL
1,023 B
XML
29 lines
No EOL
1,023 B
XML
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.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> |