tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rf...@apache.org
Subject svn commit: r687188 - in /tuscany/java/sca/samples: simple-bigbank-spring/ simple-bigbank-spring/src/main/java/bigbank/client/ simple-bigbank-spring/src/main/java/bigbank/server/ spring-bigbank-calculator/ spring-bigbank-calculator/src/main/java/bigban...
Date Tue, 19 Aug 2008 22:29:43 GMT
Author: rfeng
Date: Tue Aug 19 15:29:42 2008
New Revision: 687188

URL: http://svn.apache.org/viewvc?rev=687188&view=rev
Log:
Port to SCANodeFactory/SCANode

Modified:
    tuscany/java/sca/samples/simple-bigbank-spring/pom.xml
    tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/client/BigBankClient.java
    tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/server/BigBankServer.java
    tuscany/java/sca/samples/spring-bigbank-calculator/pom.xml
    tuscany/java/sca/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java
    tuscany/java/sca/samples/spring-bigbank-checkaccount/pom.xml
    tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/server/CheckingAccountServer.java
    tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml
    tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java

Modified: tuscany/java/sca/samples/simple-bigbank-spring/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/simple-bigbank-spring/pom.xml?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/simple-bigbank-spring/pom.xml (original)
+++ tuscany/java/sca/samples/simple-bigbank-spring/pom.xml Tue Aug 19 15:29:42 2008
@@ -38,13 +38,13 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-api</artifactId>
+            <artifactId>tuscany-node-api</artifactId>
             <version>1.4-SNAPSHOT</version>
         </dependency>
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-impl</artifactId>
+            <artifactId>tuscany-node-impl</artifactId>
             <version>1.4-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>

Modified: tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/client/BigBankClient.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/client/BigBankClient.java?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/client/BigBankClient.java
(original)
+++ tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/client/BigBankClient.java
Tue Aug 19 15:29:42 2008
@@ -20,8 +20,8 @@
 package bigbank.client;
 
 import org.apache.tuscany.sca.node.SCAClient;
-import org.apache.tuscany.sca.node.SCANode2;
-import org.apache.tuscany.sca.node.SCANode2Factory;
+import org.apache.tuscany.sca.node.SCANode;
+import org.apache.tuscany.sca.node.SCANodeFactory;
 
 import bigbank.account.AccountService;
 
@@ -32,8 +32,8 @@
 public class BigBankClient {
     public static void main(String[] args) throws Exception {
 
-        SCANode2Factory factory = SCANode2Factory.newInstance();
-        SCANode2 node = factory.createSCANodeFromClassLoader("BigBank.composite", BigBankClient.class.getClassLoader());
+        SCANodeFactory factory = SCANodeFactory.newInstance();
+        SCANode node = factory.createSCANodeFromClassLoader("BigBank.composite", BigBankClient.class.getClassLoader());
         node.start();
         
         AccountService accountService = ((SCAClient)node).getService(AccountService.class,
"AccountServiceComponent");

Modified: tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/server/BigBankServer.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/server/BigBankServer.java?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/server/BigBankServer.java
(original)
+++ tuscany/java/sca/samples/simple-bigbank-spring/src/main/java/bigbank/server/BigBankServer.java
Tue Aug 19 15:29:42 2008
@@ -19,8 +19,8 @@
 
 package bigbank.server;
 
-import org.apache.tuscany.sca.node.SCANode2;
-import org.apache.tuscany.sca.node.SCANode2Factory;
+import org.apache.tuscany.sca.node.SCANode;
+import org.apache.tuscany.sca.node.SCANodeFactory;
 
 /**
  * This client program shows how to create an SCA runtime, start it,
@@ -36,8 +36,8 @@
         
         System.out.println("Starting the Sample SCA Spring BigBank server...");
                 
-        SCANode2Factory factory = SCANode2Factory.newInstance();
-        SCANode2 node = factory.createSCANodeFromClassLoader("BigBank.composite", BigBankServer.class.getClassLoader());
+        SCANodeFactory factory = SCANodeFactory.newInstance();
+        SCANode node = factory.createSCANodeFromClassLoader("BigBank.composite", BigBankServer.class.getClassLoader());
         node.start();
 
         if (timeout < 0) {

Modified: tuscany/java/sca/samples/spring-bigbank-calculator/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-calculator/pom.xml?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-calculator/pom.xml (original)
+++ tuscany/java/sca/samples/spring-bigbank-calculator/pom.xml Tue Aug 19 15:29:42 2008
@@ -38,13 +38,13 @@
     <dependencies>    
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-api</artifactId>
+            <artifactId>tuscany-node-api</artifactId>
             <version>1.4-SNAPSHOT</version>
         </dependency>
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-impl</artifactId>
+            <artifactId>tuscany-node-impl</artifactId>
             <version>1.4-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>

Modified: tuscany/java/sca/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java
(original)
+++ tuscany/java/sca/samples/spring-bigbank-calculator/src/main/java/bigbank/calculator/server/CalculatorServer.java
Tue Aug 19 15:29:42 2008
@@ -19,8 +19,8 @@
 
 package bigbank.calculator.server;
 
-import org.apache.tuscany.sca.node.SCANode2;
-import org.apache.tuscany.sca.node.SCANode2Factory;
+import org.apache.tuscany.sca.node.SCANode;
+import org.apache.tuscany.sca.node.SCANodeFactory;
 
 public class CalculatorServer {
 
@@ -28,8 +28,8 @@
 
         System.out.println("Starting the Sample SCA Calculator...");
 
-        SCANode2Factory factory = SCANode2Factory.newInstance();
-        SCANode2 node = factory.createSCANodeFromClassLoader("Calculator.composite", CalculatorServer.class.getClassLoader());
+        SCANodeFactory factory = SCANodeFactory.newInstance();
+        SCANode node = factory.createSCANodeFromClassLoader("Calculator.composite", CalculatorServer.class.getClassLoader());
         node.start();
 
         System.out.println("Press Enter to Exit...");

Modified: tuscany/java/sca/samples/spring-bigbank-checkaccount/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-checkaccount/pom.xml?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-checkaccount/pom.xml (original)
+++ tuscany/java/sca/samples/spring-bigbank-checkaccount/pom.xml Tue Aug 19 15:29:42 2008
@@ -38,13 +38,13 @@
     <dependencies>     
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-api</artifactId>
+            <artifactId>tuscany-node-api</artifactId>
             <version>1.4-SNAPSHOT</version>
         </dependency>
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-impl</artifactId>
+            <artifactId>tuscany-node-impl</artifactId>
             <version>1.4-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>

Modified: tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/server/CheckingAccountServer.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/server/CheckingAccountServer.java?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/server/CheckingAccountServer.java
(original)
+++ tuscany/java/sca/samples/spring-bigbank-checkaccount/src/main/java/bigbank/account/checking/server/CheckingAccountServer.java
Tue Aug 19 15:29:42 2008
@@ -21,8 +21,8 @@
 import java.io.IOException;
 
 import org.apache.activemq.broker.BrokerService;
-import org.apache.tuscany.sca.node.SCANode2;
-import org.apache.tuscany.sca.node.SCANode2Factory;
+import org.apache.tuscany.sca.node.SCANode;
+import org.apache.tuscany.sca.node.SCANodeFactory;
 
 /**
  * This server program shows how to create an SCA runtime, and start it which
@@ -39,8 +39,8 @@
             jmsBroker.addConnector("tcp://localhost:61619");
             jmsBroker.start();
             
-            SCANode2Factory factory = SCANode2Factory.newInstance();
-            SCANode2 node = factory.createSCANodeFromClassLoader("CheckingsAccount.composite",
CheckingAccountServer.class.getClassLoader());
+            SCANodeFactory factory = SCANodeFactory.newInstance();
+            SCANode node = factory.createSCANodeFromClassLoader("CheckingsAccount.composite",
CheckingAccountServer.class.getClassLoader());
             node.start();
 
             System.out.println("CheckingsAccount server started (press enter to shutdown)");

Modified: tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml (original)
+++ tuscany/java/sca/samples/spring-bigbank-stockquote/pom.xml Tue Aug 19 15:29:42 2008
@@ -38,13 +38,13 @@
     <dependencies>
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-api</artifactId>
+            <artifactId>tuscany-node-api</artifactId>
             <version>1.4-SNAPSHOT</version>
         </dependency>
 
         <dependency>
             <groupId>org.apache.tuscany.sca</groupId>
-            <artifactId>tuscany-node2-impl</artifactId>
+            <artifactId>tuscany-node-impl</artifactId>
             <version>1.4-SNAPSHOT</version>
             <scope>runtime</scope>
         </dependency>

Modified: tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
URL: http://svn.apache.org/viewvc/tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java?rev=687188&r1=687187&r2=687188&view=diff
==============================================================================
--- tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
(original)
+++ tuscany/java/sca/samples/spring-bigbank-stockquote/src/main/java/bigbank/stockquote/server/StockQuoteServer.java
Tue Aug 19 15:29:42 2008
@@ -18,8 +18,8 @@
  */
 package bigbank.stockquote.server;
 
-import org.apache.tuscany.sca.node.SCANode2;
-import org.apache.tuscany.sca.node.SCANode2Factory;
+import org.apache.tuscany.sca.node.SCANode;
+import org.apache.tuscany.sca.node.SCANodeFactory;
 
 /**
  * This server program shows how to bootstrap SCA from a simple J2SE program
@@ -31,8 +31,8 @@
 
         System.out.println("Starting the Sample SCA StockQuote Service...");
 
-        SCANode2Factory factory = SCANode2Factory.newInstance();
-        SCANode2 node = factory.createSCANodeFromClassLoader("StockQuote.composite", StockQuoteServer.class.getClassLoader());
+        SCANodeFactory factory = SCANodeFactory.newInstance();
+        SCANode node = factory.createSCANodeFromClassLoader("StockQuote.composite", StockQuoteServer.class.getClassLoader());
         node.start();
 
         System.out.println("Press Enter to Exit...");



Mime
View raw message