cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject [34/50] [abbrv] git commit: updated refs/heads/marvin-refactor to 5ce2643
Date Sat, 30 Mar 2013 16:56:47 GMT
CLOUDSTACK-1746: update usage server startup configuration


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

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

----------------------------------------------------------------------
 usage/resources/usageApplicationContext.xml |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/12d6be06/usage/resources/usageApplicationContext.xml
----------------------------------------------------------------------
diff --git a/usage/resources/usageApplicationContext.xml b/usage/resources/usageApplicationContext.xml
index 0340038..fc67e0a 100644
--- a/usage/resources/usageApplicationContext.xml
+++ b/usage/resources/usageApplicationContext.xml
@@ -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>
+  <bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder"
/>
 
-  </aop:config>
+  <bean id="instantiatePostProcessor" class="com.cloud.utils.component.ComponentInstantiationPostProcessor">
+    <property name="Interceptors">
+        <list>
+            <ref bean="transactionContextBuilder" />
+        </list>
+    </property>
+  </bean>
   
-  <bean id="transactionContextBuilder" class="com.cloud.utils.db.TransactionContextBuilder"
/>
   <bean id="ComponentContext" class="com.cloud.utils.component.ComponentContext" />
  
 </beans>


Mime
View raw message