cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [31/50] [abbrv] git commit: updated refs/heads/marvin-refactor to 5ce2643
Date Sat, 30 Mar 2013 16:56:44 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/5b0c0afd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5b0c0afd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5b0c0afd

Branch: refs/heads/marvin-refactor
Commit: 5b0c0afdaae8926111377916a258d9a2422b50a8
Parents: 12d6be0
Author: Kelven Yang <kelveny@gmail.com>
Authored: Wed Mar 27 14:51:58 2013 -0700
Committer: Prasanna Santhanam <tsp@apache.org>
Committed: Sat Mar 30 22:21:55 2013 +0530

----------------------------------------------------------------------
 awsapi/conf/applicationContext.xml.in |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5b0c0afd/awsapi/conf/applicationContext.xml.in
----------------------------------------------------------------------
diff --git a/awsapi/conf/applicationContext.xml.in b/awsapi/conf/applicationContext.xml.in
index 0a24df2..492f85b 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