geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cjbly...@apache.org
Subject svn commit: r524816 - /geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/ejb-jar.xml
Date Mon, 02 Apr 2007 15:52:40 GMT
Author: cjblythe
Date: Mon Apr  2 08:52:39 2007
New Revision: 524816

URL: http://svn.apache.org/viewvc?view=rev&rev=524816
Log:
DAYTRADER-38 Cleanup one-phase remnants and spec warnings in ejb-jar.xml

Modified:
    geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/ejb-jar.xml

Modified: geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/ejb-jar.xml?view=diff&rev=524816&r1=524815&r2=524816
==============================================================================
--- geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/ejb-jar.xml (original)
+++ geronimo/daytrader/branches/1.2/modules/ejb/src/main/resources/META-INF/ejb-jar.xml Mon
Apr  2 08:52:39 2007
@@ -178,7 +178,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) from Quote q WHERE q.symbol = ?1</ejb-ql>
             </query>
             <query>
@@ -187,7 +187,7 @@
                     <method-name>findAll</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(h) from Holding h</ejb-ql>
             </query>
             <query>
@@ -198,7 +198,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(h) FROM Holding h WHERE
                     h.account.profile.userID  = ?1</ejb-ql>
             </query>
@@ -210,7 +210,7 @@
                         <method-param>java.lang.Integer</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(h) FROM Holding h WHERE
                     h.account.accountID  = ?1</ejb-ql>
             </query>
@@ -221,7 +221,7 @@
                         <method-param>java.lang.Integer</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(h) FROM Holding h WHERE
                     h.holdingID = ?1</ejb-ql>
             </query>
@@ -230,6 +230,7 @@
             <display-name>TradeBrokerMDB</display-name>
             <ejb-name>TradeBrokerMDB</ejb-name>
             <ejb-class>org.apache.geronimo.samples.daytrader.ejb.TradeBrokerMDB</ejb-class>
+            <messaging-type>javax.jms.MessageListener</messaging-type>
             <transaction-type>Container</transaction-type>
             <message-destination-type>javax.jms.Queue</message-destination-type>
             <message-destination-link>TradeBrokerQueue</message-destination-link>
@@ -286,7 +287,7 @@
                     <method-name>findAll</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(a) FROM AccountProfile a</ejb-ql>
             </query>
             <query>
@@ -297,7 +298,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(a) FROM AccountProfile a where
                     a.userID = ?1</ejb-ql>
             </query>
@@ -351,7 +352,7 @@
                     <method-name>findAll</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) FROM Quote q</ejb-ql>
             </query>
             <query>
@@ -362,7 +363,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) FROM Quote q</ejb-ql>
             </query>
             <query>
@@ -371,7 +372,7 @@
                     <method-name>findOne</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) FROM Quote q where q.symbol = 's:0'</ejb-ql>
             </query>
             <query>
@@ -379,7 +380,7 @@
                     <method-name>findTSIAQuotesOrderByChange</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) FROM Quote q WHERE q.symbol LIKE 's:1__' ORDER
BY q.change DESC</ejb-ql>
             </query>
             <query id="Query_10">
@@ -388,7 +389,7 @@
                     <method-name>ejbSelectTotalVolume</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT q.volume FROM Quote q</ejb-ql>
             </query>
             <query>
@@ -396,7 +397,7 @@
                     <method-name>findTSIAQuotes</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) FROM Quote q WHERE q.symbol LIKE 's:1__'</ejb-ql>
             </query>
             <query>
@@ -406,7 +407,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(q) FROM Quote q where q.symbol = ?1</ejb-ql>
             </query>
         </entity>
@@ -459,7 +460,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(kg) FROM KeyGen kg where
                     kg.keyName = ?1</ejb-ql>
             </query>
@@ -534,7 +535,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(a) FROM Account a WHERE
                     a.profile.userID = ?1</ejb-ql>
             </query>
@@ -555,7 +556,7 @@
                         <method-param>java.lang.Integer</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(a) FROM Account a where
                     a.accountID = ?1</ejb-ql>
             </query>
@@ -606,7 +607,7 @@
                     <method-name>findAll</method-name>
                     <method-params/>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(o) FROM Orders o</ejb-ql>
             </query>
             <query>
@@ -617,7 +618,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(o) FROM Orders o WHERE
                     o.orderStatus = 'closed' AND
                     o.account.profile.userID  = ?1</ejb-ql>
@@ -630,7 +631,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(o) FROM Orders o WHERE
                     o.account.profile.userID  = ?1 ORDER BY o.orderID DESC</ejb-ql>
             </query>
@@ -641,7 +642,7 @@
                         <method-param>java.lang.Integer</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(o) FROM Orders o WHERE o.orderID = ?1</ejb-ql>
             </query>
             <query>
@@ -651,7 +652,7 @@
                         <method-param>java.lang.String</method-param>
                     </method-params>
                 </query-method>
-                <result-type-mapping>Local</result-type-mapping>
+                <!--<result-type-mapping>Local</result-type-mapping>-->
                 <ejb-ql>SELECT OBJECT(o) FROM Orders o WHERE
                     o.orderStatus = 'closed' AND
                     o.account.profile.userID  = ?1</ejb-ql>
@@ -660,6 +661,7 @@
         <message-driven>
             <ejb-name>TradeStreamerMDB</ejb-name>
             <ejb-class>org.apache.geronimo.samples.daytrader.ejb.TradeStreamerMDB</ejb-class>
+            <messaging-type>javax.jms.MessageListener</messaging-type>
             <transaction-type>Container</transaction-type>
             <message-destination-type>javax.jms.Topic</message-destination-type>
             <message-destination-link>TradeStreamerTopic</message-destination-link>
@@ -865,109 +867,18 @@
                     <method-param>double</method-param>
                 </method-params>
             </method>
-            <method>
-                <ejb-name>TradeEJB</ejb-name>
-                <method-intf>Remote</method-intf>
-                <method-name>cancelOrderOnePhase</method-name>
-                <method-params>
-                    <method-param>java.lang.Integer</method-param>
-                </method-params>
-            </method>
-            <method>
-                <ejb-name>TradeEJB</ejb-name>
-                <method-intf>Remote</method-intf>
-                <method-name>completeOrderOnePhaseDirect</method-name>
-                <method-params>
-                    <method-param>java.lang.Integer</method-param>
-                </method-params>
-            </method>
-            <method>
-                <ejb-name>TradeEJB</ejb-name>
-                <method-intf>Remote</method-intf>
-                <method-name>queueOrderOnePhase</method-name>
-                <method-params>
-                    <method-param>java.lang.Integer</method-param>
-                </method-params>
-            </method>
-            <method>
-        		<ejb-name>TradeJDBC</ejb-name>
-        		<method-intf>Remote</method-intf>
-        		<method-name>cancelOrderOnePhase</method-name>
-        		<method-params>
-        			<method-param>java.lang.Integer</method-param>
-        		</method-params>
-        	</method>
-        	<method>
-        		<ejb-name>TradeJDBC</ejb-name>
-        		<method-intf>Remote</method-intf>
-        		<method-name>completeOrderOnePhaseDirect</method-name>
-        		<method-params>
-        			<method-param>java.lang.Integer</method-param>
-        		</method-params>
-        	</method>
-        	<method>
-        		<ejb-name>TradeJDBC</ejb-name>
-        		<method-intf>Remote</method-intf>
-        		<method-name>publishQuotePriceChange</method-name>
-        		<method-params>
-        			<method-param>com.ibm.websphere.samples.trade.QuoteDataBean</method-param>
-        			<method-param>java.math.BigDecimal</method-param>
-        			<method-param>java.math.BigDecimal</method-param>
-        			<method-param>double</method-param>
-        		</method-params>
-        	</method>
-        	<method>
-        		<ejb-name>TradeJDBC</ejb-name>
-        		<method-intf>Remote</method-intf>
-        		<method-name>queueOrderOnePhase</method-name>
-        		<method-params>
-        			<method-param>java.lang.Integer</method-param>
-        		</method-params>
-        	</method>
             <trans-attribute>RequiresNew</trans-attribute>
         </container-transaction>
         <container-transaction>
             <method>
                 <ejb-name>TradeEJB</ejb-name>
                 <method-intf>Remote</method-intf>
-                <method-name>cancelOrderOnePhaseDirect</method-name>
-                <method-params>
-                    <method-param>java.lang.Integer</method-param>
-                </method-params>
-            </method>
-            <method>
-                <ejb-name>TradeEJB</ejb-name>
-                <method-intf>Remote</method-intf>
-                <method-name>completeOrderOnePhaseDirect</method-name>
-                <method-params>
-                    <method-param>java.lang.Integer</method-param>
-                </method-params>
-            </method>
-            <method>
-                <ejb-name>TradeEJB</ejb-name>
-                <method-intf>Remote</method-intf>
                 <method-name>resetTrade</method-name>
                 <method-params>
                     <method-param>boolean</method-param>
                 </method-params>
             </method>
             <method>
-        		<ejb-name>TradeJDBC</ejb-name>
-        		<method-intf>Remote</method-intf>
-        		<method-name>cancelOrderOnePhaseDirect</method-name>
-        		<method-params>
-        			<method-param>java.lang.Integer</method-param>
-        		</method-params>
-        	</method>
-        	<method>
-        		<ejb-name>TradeJDBC</ejb-name>
-        		<method-intf>Remote</method-intf>
-        		<method-name>completeOrderOnePhaseDirect</method-name>
-        		<method-params>
-        			<method-param>java.lang.Integer</method-param>
-        		</method-params>
-        	</method>
-        	<method>
         		<ejb-name>TradeJDBC</ejb-name>
         		<method-intf>Remote</method-intf>
         		<method-name>resetTrade</method-name>



Mime
View raw message