geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jb...@apache.org
Subject svn commit: r912559 - /geronimo/sandbox/jbohn/daytrader-bp-CntEM/modules/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Date Mon, 22 Feb 2010 13:39:37 GMT
Author: jbohn
Date: Mon Feb 22 13:39:36 2010
New Revision: 912559

URL: http://svn.apache.org/viewvc?rev=912559&view=rev
Log:
add declarative transaction support and some missing license headers

Modified:
    geronimo/sandbox/jbohn/daytrader-bp-CntEM/modules/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml

Modified: geronimo/sandbox/jbohn/daytrader-bp-CntEM/modules/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/jbohn/daytrader-bp-CntEM/modules/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml?rev=912559&r1=912558&r2=912559&view=diff
==============================================================================
--- geronimo/sandbox/jbohn/daytrader-bp-CntEM/modules/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
(original)
+++ geronimo/sandbox/jbohn/daytrader-bp-CntEM/modules/core/src/main/resources/OSGI-INF/blueprint/blueprint.xml
Mon Feb 22 13:39:36 2010
@@ -1,9 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-            xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0">
+            xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0"
+            xmlns:tx="http://aries.apache.org/xmlns/transactions/v1.0.0">
 
   <bean id="tradeServicesBeanJDBC" class="org.apache.geronimo.samples.daytrader.core.direct.TradeJDBCDirect"
activation="lazy" init-method="init">
       <!--<property name="inSession" value="true"/>-->
+      <!--<tx:transaction method="*" value="Required"/>-->
   </bean>
 
   <service id="tradeServicesJDBC" ref="tradeServicesBeanJDBC" interface="org.apache.geronimo.samples.daytrader.core.TradeServices">
@@ -19,6 +40,7 @@
   </service>
 
   <bean id="tradeServicesBeanJPA" class="org.apache.geronimo.samples.daytrader.core.direct.TradeJPADirect"
activation="lazy" init-method="init"> 
+      <tx:transaction method="*" value="Required"/>
   </bean>
   
   <service id="tradeServicesJPA" ref="tradeServicesBeanJPA" interface="org.apache.geronimo.samples.daytrader.core.TradeServices">



Mime
View raw message