Skip to content

Commit 9dcaf50

Browse files
committed
CLOUDSTACK-1825: Update AWSAPI server's XML configuration
1 parent c3c7e7e commit 9dcaf50

1 file changed

Lines changed: 13 additions & 11 deletions

File tree

awsapi/conf/applicationContext.xml.in

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,19 @@
3737
<!--
3838
@DB support
3939
-->
40-
<aop:config proxy-target-class="true">
41-
<aop:aspect id="dbContextBuilder" ref="transactionContextBuilder">
42-
<aop:pointcut id="captureAnyMethod"
43-
expression="execution(* *(..))"
44-
/>
45-
46-
<aop:around pointcut-ref="captureAnyMethod" method="AroundAnyMethod"/>
47-
</aop:aspect>
48-
49-
</aop:config>
5040

41+
<!--
42+
@DB support
43+
-->
44+
<bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
5145
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
52-
46+
47+
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
48+
<property name="Interceptors">
49+
<list>
50+
<ref bean="transactionContextBuilder" />
51+
</list>
52+
</property>
53+
</bean>
54+
5355
</beans>

0 commit comments

Comments
 (0)