From 8e4a90d2f486e4e62b45e3085448f82e056c0300 Mon Sep 17 00:00:00 2001 From: lresende Date: Tue, 17 Nov 2009 06:22:44 +0000 Subject: Updating store sample webapp to the latest OASIS namespace/packages git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@881167 13f79535-47bb-0310-9956-ffa450edef68 --- java/sca/samples/store-webapp/pom.xml | 28 +++++++++++----------- .../store-webapp/src/main/java/services/Cart.java | 2 +- .../src/main/java/services/Catalog.java | 2 +- .../src/main/java/services/CurrencyConverter.java | 2 +- .../src/main/java/services/FruitsCatalogImpl.java | 6 ++--- .../src/main/java/services/ShoppingCartImpl.java | 4 ++-- .../store-webapp/src/main/java/services/Total.java | 2 +- .../src/main/resources/store.composite | 18 +++++++------- 8 files changed, 32 insertions(+), 32 deletions(-) (limited to 'java/sca') diff --git a/java/sca/samples/store-webapp/pom.xml b/java/sca/samples/store-webapp/pom.xml index 8b6f0412f1..b9bb4af45b 100644 --- a/java/sca/samples/store-webapp/pom.xml +++ b/java/sca/samples/store-webapp/pom.xml @@ -22,7 +22,7 @@ org.apache.tuscany.sca tuscany-sca - 1.6-SNAPSHOT + 2.0-SNAPSHOT ../pom.xml sample-store-webapp @@ -40,55 +40,55 @@ org.apache.tuscany.sca tuscany-host-webapp - 1.6-SNAPSHOT + 2.0-SNAPSHOT org.apache.tuscany.sca tuscany-data-api - 1.6-SNAPSHOT + 2.0-SNAPSHOT org.apache.tuscany.sca tuscany-implementation-java-runtime - 1.6-SNAPSHOT + 2.0-SNAPSHOT runtime org.apache.tuscany.sca - tuscany-implementation-widget-runtime-tuscany - 1.6-SNAPSHOT + tuscany-implementation-widget-runtime-dojo + 2.0-SNAPSHOT runtime org.apache.tuscany.sca - tuscany-binding-atom-abdera - 1.6-SNAPSHOT + tuscany-binding-atom-runtime + 2.0-SNAPSHOT runtime org.apache.tuscany.sca - tuscany-binding-atom-js - 1.6-SNAPSHOT + tuscany-binding-atom-js-dojo + 2.0-SNAPSHOT runtime org.apache.tuscany.sca tuscany-binding-jsonrpc-runtime - 1.6-SNAPSHOT + 2.0-SNAPSHOT runtime org.apache.tuscany.sca - tuscany-binding-jsonrpc-js - 1.6-SNAPSHOT + tuscany-binding-jsonrpc-js-dojo + 2.0-SNAPSHOT runtime @@ -107,7 +107,7 @@ org.apache.tuscany.sca tuscany-maven-ant-generator - 1.6-SNAPSHOT + 2.0-SNAPSHOT diff --git a/java/sca/samples/store-webapp/src/main/java/services/Cart.java b/java/sca/samples/store-webapp/src/main/java/services/Cart.java index 9e6226d963..3fb5439bc3 100644 --- a/java/sca/samples/store-webapp/src/main/java/services/Cart.java +++ b/java/sca/samples/store-webapp/src/main/java/services/Cart.java @@ -20,7 +20,7 @@ package services; import org.apache.tuscany.sca.data.collection.Collection; -import org.osoa.sca.annotations.Remotable; +import org.oasisopen.sca.annotation.Remotable; @Remotable public interface Cart extends Collection { diff --git a/java/sca/samples/store-webapp/src/main/java/services/Catalog.java b/java/sca/samples/store-webapp/src/main/java/services/Catalog.java index 2c3b19f579..b5e504fe11 100644 --- a/java/sca/samples/store-webapp/src/main/java/services/Catalog.java +++ b/java/sca/samples/store-webapp/src/main/java/services/Catalog.java @@ -19,7 +19,7 @@ package services; -import org.osoa.sca.annotations.Remotable; +import org.oasisopen.sca.annotation.Remotable; @Remotable public interface Catalog { diff --git a/java/sca/samples/store-webapp/src/main/java/services/CurrencyConverter.java b/java/sca/samples/store-webapp/src/main/java/services/CurrencyConverter.java index e104a0423a..a064f3dd69 100644 --- a/java/sca/samples/store-webapp/src/main/java/services/CurrencyConverter.java +++ b/java/sca/samples/store-webapp/src/main/java/services/CurrencyConverter.java @@ -19,7 +19,7 @@ package services; -import org.osoa.sca.annotations.Remotable; +import org.oasisopen.sca.annotation.Remotable; @Remotable public interface CurrencyConverter { diff --git a/java/sca/samples/store-webapp/src/main/java/services/FruitsCatalogImpl.java b/java/sca/samples/store-webapp/src/main/java/services/FruitsCatalogImpl.java index 377b3d7e59..d132a24b00 100644 --- a/java/sca/samples/store-webapp/src/main/java/services/FruitsCatalogImpl.java +++ b/java/sca/samples/store-webapp/src/main/java/services/FruitsCatalogImpl.java @@ -22,9 +22,9 @@ package services; import java.util.ArrayList; import java.util.List; -import org.osoa.sca.annotations.Init; -import org.osoa.sca.annotations.Property; -import org.osoa.sca.annotations.Reference; +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Property; +import org.oasisopen.sca.annotation.Reference; public class FruitsCatalogImpl implements Catalog { diff --git a/java/sca/samples/store-webapp/src/main/java/services/ShoppingCartImpl.java b/java/sca/samples/store-webapp/src/main/java/services/ShoppingCartImpl.java index 9889921a96..698614212d 100644 --- a/java/sca/samples/store-webapp/src/main/java/services/ShoppingCartImpl.java +++ b/java/sca/samples/store-webapp/src/main/java/services/ShoppingCartImpl.java @@ -27,8 +27,8 @@ import java.util.UUID; import org.apache.tuscany.sca.data.collection.Entry; import org.apache.tuscany.sca.data.collection.NotFoundException; -import org.osoa.sca.annotations.Init; -import org.osoa.sca.annotations.Scope; +import org.oasisopen.sca.annotation.Init; +import org.oasisopen.sca.annotation.Scope; @Scope("COMPOSITE") public class ShoppingCartImpl implements Cart, Total { diff --git a/java/sca/samples/store-webapp/src/main/java/services/Total.java b/java/sca/samples/store-webapp/src/main/java/services/Total.java index 8f464e526f..b77cc1c7ac 100644 --- a/java/sca/samples/store-webapp/src/main/java/services/Total.java +++ b/java/sca/samples/store-webapp/src/main/java/services/Total.java @@ -19,7 +19,7 @@ package services; -import org.osoa.sca.annotations.Remotable; +import org.oasisopen.sca.annotation.Remotable; @Remotable public interface Total { diff --git a/java/sca/samples/store-webapp/src/main/resources/store.composite b/java/sca/samples/store-webapp/src/main/resources/store.composite index 9c25783c0f..2fa6f93b39 100644 --- a/java/sca/samples/store-webapp/src/main/resources/store.composite +++ b/java/sca/samples/store-webapp/src/main/resources/store.composite @@ -17,21 +17,21 @@ * specific language governing permissions and limitations * under the License. --> - - + - + - + - + @@ -39,7 +39,7 @@ USD - + @@ -47,10 +47,10 @@ - + - + -- cgit v1.2.3