cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kelv...@apache.org
Subject [03/10] git commit: updated refs/heads/master to 5782abf
Date Fri, 29 Mar 2013 18:36:38 GMT
CLOUDSTACK-1825: Update AWSAPI server's XML configuration


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9dcaf508
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9dcaf508
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/9dcaf508

Branch: refs/heads/master
Commit: 9dcaf508c9bea022d1704ba545f935df84af782c
Parents: c3c7e7e
Author: Kelven Yang <kelveny@gmail.com>
Authored: Wed Mar 27 14:51:58 2013 -0700
Committer: Kelven Yang <kelveny@gmail.com>
Committed: Fri Mar 29 11:12:36 2013 -0700

----------------------------------------------------------------------
 awsapi/conf/applicationContext.xml.in |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/9dcaf508/awsapi/conf/applicationContext.xml.in
----------------------------------------------------------------------
diff --git a/awsapi/conf/applicationContext.xml.in b/awsapi/conf/applicationContext.xml.in
index 0a24df2..8b3a022 100644
--- a/awsapi/conf/applicationContext.xml.in
+++ b/awsapi/conf/applicationContext.xml.in
@@ -37,17 +37,19 @@
   <!--
     @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>
   
+   <!--
+    @DB support
+  -->
+  <bean id="componentContext" class="com.cloud.utils.component.ComponentContext" />
   <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>
+ 
 </beans>


Mime
View raw message