CLOUDSTACK-1746: update usage server startup configuration

This commit is contained in:
Kelven Yang 2013-03-27 14:31:05 -07:00
parent 85971b5194
commit c3c7e7e570
1 changed files with 9 additions and 10 deletions

View File

@ -38,17 +38,16 @@
<!--
@DB support
-->
<aop:config proxy-target-class="true">
<aop:aspect id="dbContextBuilder" ref="transactionContextBuilder">
<aop:pointcut id="captureAnyMethod"
expression="execution(* *(..))"
/>
<aop:around pointcut-ref="captureAnyMethod" method="AroundAnyMethod"/>
</aop:aspect>
</aop:config>
<bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder" />
<bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
<property name="Interceptors">
<list>
<ref bean="transactionContextBuilder" />
</list>
</property>
</bean>
<bean id="ComponentContext" class="com.cloud.utils.component.ComponentContext" />
</beans>