diff options
Diffstat (limited to '')
-rw-r--r-- | branches/sca-java-1.5.1/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/proxy/ShoppingStoreServiceImpl.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/branches/sca-java-1.5.1/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/proxy/ShoppingStoreServiceImpl.java b/branches/sca-java-1.5.1/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/proxy/ShoppingStoreServiceImpl.java deleted file mode 100644 index 8a73631cbb..0000000000 --- a/branches/sca-java-1.5.1/tutorials/store/www-services/catalog-amazon/cart-amazon/src/main/java/shoppingstore/services/proxy/ShoppingStoreServiceImpl.java +++ /dev/null @@ -1,49 +0,0 @@ -package shoppingstore.services.proxy; - -import org.osoa.sca.annotations.Reference; -import org.osoa.sca.annotations.Scope; - -import shoppingstore.services.cart.CartService; - -import com.amazon.webservices.awsecommerceservice._2007_05_14.CartAddResponse; -import com.amazon.webservices.awsecommerceservice._2007_05_14.CartClearResponse; -import com.amazon.webservices.awsecommerceservice._2007_05_14.CartCreateResponse; -import com.amazon.webservices.awsecommerceservice._2007_05_14.CartGetResponse; -import com.amazon.webservices.awsecommerceservice._2007_05_14.CartModifyResponse; - -@Scope("COMPOSITE") -public class ShoppingStoreServiceImpl implements ShoppingStoreService { - - private CartService cartService; - - @Reference - public void setCartService(CartService cartService) { - this.cartService = cartService; - } - - public CartAddResponse CartAdd( - com.amazon.webservices.awsecommerceservice._2007_05_14.CartAdd cartAdd) { - return cartService.CartAdd(cartAdd); - } - - public CartClearResponse CartClear( - com.amazon.webservices.awsecommerceservice._2007_05_14.CartClear cartClear) { - return cartService.CartClear(cartClear); - } - - public CartCreateResponse CartCreate( - com.amazon.webservices.awsecommerceservice._2007_05_14.CartCreate cartCreate) { - return cartService.CartCreate(cartCreate); - } - - public CartGetResponse CartGet( - com.amazon.webservices.awsecommerceservice._2007_05_14.CartGet cartGet) { - return cartService.CartGet(cartGet); - } - - public CartModifyResponse CartModify( - com.amazon.webservices.awsecommerceservice._2007_05_14.CartModify cartModify) { - return cartService.CartModify(cartModify); - } - -} |