You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by an...@apache.org on 2007/07/02 14:16:40 UTC

svn commit: r552481 [5/7] - in /incubator/tuscany/java/sca/itest/osgi-implementation: ./ src/ src/main/ src/main/java/ src/main/java/helloworld/ src/main/java/helloworld/ws/ src/main/java/stockquote/ src/main/java/supplychain/ src/main/java/supplychain...

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="WarehouseComponent2"  immediate="true">
+    <implementation class="supplychain.warehouse.OSGiWarehouseComponentImpl" />
+    <service>
+         <provide interface="supplychain.warehouse.Warehouse"/>
+    </service>
+    <reference 
+        name="shipper" 
+        interface="supplychain.shipper.Shipper" 
+        bind="setShipper"
+        unbind="unsetShipper"
+        policy="dynamic"
+    />
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/version/ds/Warehouse2V2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Customer.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Customer.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Customer.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Customer.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Customer
+Bundle-SymbolicName: wiring.supplychain.customer.Customer
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ supplychain.retailer
+Export-Package: supplychain.customer
+Bundle-Activator: supplychain.customer.OSGiCustomerImpl
+

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Retailer.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Retailer.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Retailer.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Retailer.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Retailer
+Bundle-SymbolicName: wiring.supplychain.retailer.Retailer
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ supplychain.warehouse
+Export-Package: supplychain.retailer
+Bundle-Activator: supplychain.retailer.OSGiRetailerImpl

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Shipper.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Shipper.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Shipper.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Shipper.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Shipper
+Bundle-SymbolicName: wiring.supplychain.shipper.Shipper
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ supplychain.customer
+Export-Package: supplychain.shipper
+Bundle-Activator: supplychain.shipper.OSGiShipperImpl

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Warehouse.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Warehouse.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Warehouse.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/Warehouse.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Warehouse
+Bundle-SymbolicName: wiring.supplychain.warehouse.Warehouse
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ supplychain.shipper
+Export-Package: supplychain.warehouse
+Bundle-Activator: supplychain.warehouse.OSGiWarehouseImpl

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Customer
+Bundle-SymbolicName: ds.wiring.supplychain.customer.Customer
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ org.osgi.service.component, supplychain.retailer
+Export-Package: supplychain.customer
+Service-Component: osgi/wiring/ds/Customer.xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="CustomerComponent" immediate="true">
+    <implementation class="supplychain.customer.OSGiCustomerComponentImpl" />
+    <service>
+         <provide interface="supplychain.customer.Customer"/>
+    </service>
+    <reference 
+        name="retailer1"
+        interface="supplychain.retailer.Retailer" 
+        bind="setRetailer1"
+        unbind="unsetRetailer1"
+        target="(retailerName=amazon.com)"
+        policy="dynamic"
+    />
+    <reference 
+        name="retailer2"
+        interface="supplychain.retailer.Retailer" 
+        bind="setRetailer2"
+        unbind="unsetRetailer2"
+        target="(retailerName=play.com)"
+        policy="dynamic"
+    />
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Customer.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Retailer
+Bundle-SymbolicName: ds.wiring.supplychain.retailer.Retailer
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ org.osgi.service.component,
+ supplychain.warehouse
+Export-Package: supplychain.retailer
+Service-Component: osgi/wiring/ds/Retailer1.xml, osgi/wiring/ds/Retailer2.xml 

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="RetailerComponent1" immediate="true" >
+    <implementation class="supplychain.retailer.OSGiRetailerComponentImpl" />
+    <service>
+         <provide interface="supplychain.retailer.Retailer"/>
+    </service>
+    <reference 
+        name="supplychain.warehouse.Warehouse" 
+        interface="supplychain.warehouse.Warehouse" 
+        bind="setWarehouse"
+        unbind="unsetWarehouse"
+        target="(component.service.name=WarehouseComponent1/Warehouse)"
+    />
+    <property name="retailerName">amazon.com</property>
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="RetailerComponent2" immediate="true" >
+    <implementation class="supplychain.retailer.OSGiRetailerComponentImpl" />
+    <service>
+         <provide interface="supplychain.retailer.Retailer"/>
+    </service>
+    <reference 
+        name="supplychain.warehouse.Warehouse" 
+        interface="supplychain.warehouse.Warehouse" 
+        bind="setWarehouse"
+        unbind="unsetWarehouse"
+        target="(component.service.name=WarehouseComponent1/Warehouse)"
+    />
+    <property name="retailerName">play.com</property>
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Retailer2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Shipper
+Bundle-SymbolicName: ds.wiring.supplychain.shipper.Shipper
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ org.osgi.service.component, supplychain.customer
+Export-Package: supplychain.shipper
+Service-Component: osgi/wiring/ds/Shipper1.xml, osgi/wiring/ds/Shipper2.xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="ShipperComponent1"  immediate="true" >
+    <implementation class="supplychain.shipper.OSGiShipperComponentImpl" />
+    <service>
+         <provide interface="supplychain.shipper.Shipper" />
+    </service>
+    <reference 
+        name="customer" 
+        interface="supplychain.customer.Customer" 
+        bind="setCustomer"
+        unbind="unsetCustomer"
+        cardinality="0..1"
+        target="(component.service.name=CustomerComponent/Customer)"
+        policy="dynamic"
+    />
+    <property name="shipperName">RoyalMail</property>
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="ShipperComponent2"  immediate="true" >
+    <implementation class="supplychain.shipper.OSGiShipperComponentImpl" />
+    <service>
+         <provide interface="supplychain.shipper.Shipper" />
+    </service>
+    <reference 
+        name="customer" 
+        interface="supplychain.customer.Customer" 
+        bind="setCustomer"
+        unbind="unsetCustomer"
+        cardinality="0..1"
+        policy="dynamic"
+    />
+    <property name="shipperName">ParcelForce</property>
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Shipper2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,11 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Warehouse
+Bundle-SymbolicName: ds.wiring.supplychain.warehouse.Warehouse
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ org.osgi.service.component,
+ supplychain.shipper
+Export-Package: supplychain.warehouse
+Service-Component: osgi/wiring/ds/Warehouse1.xml, osgi/wiring/ds/Warehouse2.xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="WarehouseComponent1"  immediate="true">
+    <implementation class="supplychain.warehouse.OSGiWarehouseComponentImpl" />
+    <service>
+         <provide interface="supplychain.warehouse.Warehouse"/>
+    </service>
+    <reference 
+        name="shipper" 
+        interface="supplychain.shipper.Shipper" 
+        bind="setShipper"
+        unbind="unsetShipper"
+        policy="dynamic"
+    />
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse1.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml Mon Jul  2 05:16:31 2007
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component name="WarehouseComponent2"  immediate="true">
+    <implementation class="supplychain.warehouse.OSGiWarehouseComponentImpl" />
+    <service>
+         <provide interface="supplychain.warehouse.Warehouse"/>
+    </service>
+    <reference 
+        name="shipper" 
+        interface="supplychain.shipper.Shipper" 
+        bind="setShipper"
+        unbind="unsetShipper"
+        policy="dynamic"
+    />
+</component>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/wiring/ds/Warehouse2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/ws/HelloWorld.mf
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/ws/HelloWorld.mf?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/ws/HelloWorld.mf (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/osgi/ws/HelloWorld.mf Mon Jul  2 05:16:31 2007
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: HelloWorld
+Bundle-SymbolicName: helloworld.HelloWorld
+Bundle-Version: 1.0.0
+Bundle-Localization: plugin
+Import-Package: org.osgi.framework,
+ org.osgi.service.component ,
+ helloworld.ws
+Export-Package: helloworld
+Bundle-Activator: helloworld.OSGiHelloWorldImpl
+

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-ds-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-ds-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-ds-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-ds-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,136 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent">
+        <implementation.osgi 
+                bundle="supplychain.Customer"
+                bundleLocation="file:target/factory/ds/Customer.jar"
+                scope="STATELESS" >
+            
+            <properties reference="retailer1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties reference="retailer2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties reference="retailer3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="retailer1" target="RetailerComponent1"/>
+        
+        <reference name="retailer2" target="RetailerComponent2" />
+        
+        <reference name="retailer3" target="RetailerComponent3" />
+    </component>
+
+    <component name="RetailerComponent1">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/factory/ds/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+        </implementation.osgi>
+        <service name="Retailer"/>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>        
+        <property name="retailerName" type="xsd:string" >amazon.com</property> 
+    </component>
+    
+    <component name="RetailerComponent2">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/factory/ds/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">play.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>
+        <property name="retailerName" type="xsd:string" >play.com</property> 
+    </component>
+    
+    <component name="RetailerComponent3">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/factory/ds/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>
+        <property name="retailerName" type="xsd:string" >ebay.com</property> 
+    </component>
+
+
+
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent2"  />
+    </component>
+    
+    <component name="WarehouseComponent2">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent1"  />
+    </component>
+
+    <component name="ShipperComponent1">
+        <implementation.osgi     
+            bundle="supplychain.Shipper"   
+            bundleLocation="file:target/factory/ds/Shipper.jar"
+            scope="STATELESS">
+            
+            <properties service="Shipper">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="customer" target="CustomerComponent" />
+        <property name="shipperName" type="xsd:string" >RoyalMail</property> 
+    </component>
+    
+     <component name="ShipperComponent2">
+        <implementation.osgi 
+            bundle="supplychain.Shipper"   
+            bundleLocation="file:target/factory/ds/Shipper.jar"
+            scope="STATELESS">
+            
+            <properties service="Shipper">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="customer" target="CustomerComponent" />
+        <property name="shipperName" type="xsd:string" >ParcelForce</property> 
+        
+    </component>
+    
+    
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/factory-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,121 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent">
+        <implementation.osgi 
+                bundle="supplychain.Customer"
+                bundleLocation="file:target/factory/Customer.jar"
+                scope="STATELESS" >
+            
+            <properties reference="retailer1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties reference="retailer2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties reference="retailer3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="retailer1" target="RetailerComponent1"/>
+        
+        <reference name="retailer2" target="RetailerComponent2" />
+        
+        <reference name="retailer3" target="RetailerComponent3" />
+    </component>
+
+    <component name="RetailerComponent1">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/factory/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+        </implementation.osgi>
+        <service name="Retailer"/>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>        
+        <property name="retailerName" type="xsd:string" >amazon.com</property> 
+    </component>
+    
+    <component name="RetailerComponent2">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/factory/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">play.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>
+        <property name="retailerName" type="xsd:string" >play.com</property> 
+    </component>
+    
+    <component name="RetailerComponent3">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/factory/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>
+        <property name="retailerName" type="xsd:string" >ebay.com</property> 
+    </component>
+
+
+
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent1"  />
+    </component>
+    
+    <component name="WarehouseComponent2">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent1"  />
+    </component>
+
+    <component name="ShipperComponent1">
+        <implementation.osgi     
+            bundle="supplychain.Shipper"   
+            bundleLocation="file:target/factory/Shipper.jar"
+            scope="STATELESS">
+            
+            <properties service="Shipper">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="customer" target="CustomerComponent" />
+        <property name="shipperName" type="xsd:string" >ParcelForce</property> 
+    </component>
+    
+     
+    
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl Mon Jul  2 05:16:31 2007
@@ -0,0 +1,80 @@
+<?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.    
+-->
+<wsdl:definitions targetNamespace="http://helloworld" xmlns:tns="http://helloworld" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	name="helloworld">
+
+    <wsdl:types>
+        <schema elementFormDefault="qualified" targetNamespace="http://helloworld" xmlns="http://www.w3.org/2001/XMLSchema">
+
+            <element name="getGreetings">
+                <complexType>
+                    <sequence>
+                        <element name="name" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+
+            <element name="getGreetingsResponse">
+                <complexType>
+                    <sequence>
+                        <element name="getGreetingsReturn" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            
+        </schema>
+    </wsdl:types>
+
+    <wsdl:message name="getGreetingsRequest">
+        <wsdl:part element="tns:getGreetings" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:message name="getGreetingsResponse">
+        <wsdl:part element="tns:getGreetingsResponse" name="parameters"/>
+    </wsdl:message>
+
+    <wsdl:portType name="HelloWorld">
+        <wsdl:operation name="getGreetings">
+            <wsdl:input message="tns:getGreetingsRequest" name="getGreetingsRequest"/>
+            <wsdl:output message="tns:getGreetingsResponse" name="getGreetingsResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+
+    <wsdl:binding name="HelloWorldSoapBinding" type="tns:HelloWorld">
+        <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="getGreetings">
+            <wsdlsoap:operation soapAction=""/>
+            <wsdl:input name="getGreetingsRequest">
+                <wsdlsoap:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="getGreetingsResponse">
+                <wsdlsoap:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+
+    </wsdl:binding>
+
+    <wsdl:service name="HelloWorldService">
+        <wsdl:port binding="tns:HelloWorldSoapBinding" name="HelloWorldSoapPort">
+            <wsdlsoap:address location="http://localhost:8080/services/HelloWorldWebService"/>
+        </wsdl:port>
+    </wsdl:service>
+
+</wsdl:definitions>

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/helloworld.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-ds-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-ds-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-ds-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-ds-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,60 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+	
+    <component name="CustomerComponent">
+        <implementation.osgi 
+            bundle="supplychain.CustomerWithQuery"
+            bundleLocation="file:target/interfaces/ds/Customer.jar"
+        />
+        <reference name="retailer" target="RetailerComponent/Retailer"/>
+        <reference name="retailerQuery" target="RetailerComponent/RetailerQuery"/>
+        
+    </component>
+
+    <component name="RetailerComponent">
+        <implementation.osgi 
+            bundle="supplychain.RetailerWithQuery"
+            bundleLocation="file:target/interfaces/ds/Retailer.jar"
+        />
+        <reference name="warehouse" target="WarehouseComponent/Warehouse"/>
+        <reference name="warehouseQuery" target="WarehouseComponent/WarehouseQuery"/>
+    </component>
+
+    <component name="WarehouseComponent">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseWithQueryComponentImpl" />
+       
+        <reference name="shipper" target="ShipperComponent" />
+    </component>
+
+    <component name="ShipperComponent">
+        <implementation.osgi 
+            bundle="supplychain.Shipper"
+            bundleLocation="file:target/interfaces/ds/Shipper.jar"
+        />
+        <reference name="customer" target="CustomerComponent" />
+    </component>
+    
+   
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/interfaces-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,60 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+	
+    <component name="CustomerComponent">
+        <implementation.osgi 
+            bundle="supplychain.CustomerWithQuery"
+            bundleLocation="file:target/interfaces/Customer.jar"
+        />
+        <reference name="retailer" target="RetailerComponent/Retailer"/>
+        <reference name="retailerQuery" target="RetailerComponent/RetailerQuery"/>
+        
+    </component>
+
+    <component name="RetailerComponent">
+        <implementation.osgi 
+            bundle="supplychain.RetailerWithQuery"
+            bundleLocation="file:target/interfaces/Retailer.jar"
+        />
+        <reference name="warehouse" target="WarehouseComponent/Warehouse"/>
+        <reference name="warehouseQuery" target="WarehouseComponent/WarehouseQuery"/>
+    </component>
+
+    <component name="WarehouseComponent">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseWithQueryComponentImpl" />
+       
+        <reference name="shipper" target="ShipperComponent" />
+    </component>
+
+    <component name="ShipperComponent">
+        <implementation.osgi 
+            bundle="supplychain.Shipper"
+            bundleLocation="file:target/interfaces/Shipper.jar"
+        />
+        <reference name="customer" target="CustomerComponent" />
+    </component>
+    
+   
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/passbyref-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/passbyref-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/passbyref-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/passbyref-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,41 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+           name="HelloWorld">
+
+    <component name="JavaGreetingsComponent">
+		<implementation.java class="helloworld.JavaGreetingsComponent"/>
+		
+		<reference name="greetingsService" target="OSGiGreetingsComponent" />
+    </component>
+
+    <component name="OSGiGreetingsComponent">
+		<implementation.osgi 
+            bundle="helloworld.Greetings"
+            bundleLocation="file:target/passbyref/Greetings.jar"
+            allowsPassByReference="helloworld.OSGiGreetingsImpl.getModifiedGreetingsFromJava 
+                                   helloworld.OSGiGreetingsImpl.getModifiedGreetingsFromOSGi"
+        />
+        <reference name="greetingsService" target="JavaGreetingsComponent" />
+    </component>
+
+    
+
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-ds-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-ds-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-ds-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-ds-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,41 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+           name="StockQuoteComposite">
+
+    <component name="StockQuoteComponent">
+        <implementation.osgi 
+            bundle="stockquote.StockQuote" 
+            bundleLocation="file:target/properties/ds/StockQuote.jar" 
+            scope="COMPOSITE"
+            injectProperties="true">
+            
+            <properties service="StockQuoteService">
+                <property name="service.pid">stockQuote</property>
+            </properties>
+        </implementation.osgi>
+        
+        <property name="currency" type="xsd:string" >USD</property> 
+        <property name="exchangeRate" type="xsd:double" >2.0</property> 
+            
+    </component>
+
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,41 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+           name="StockQuoteComposite">
+
+    <component name="StockQuoteComponent">
+        <implementation.osgi 
+            bundle="stockquote.StockQuote" 
+            bundleLocation="file:target/properties/StockQuote.jar" 
+            scope="COMPOSITE"
+            injectProperties="true">
+            
+            <properties service="StockQuoteService">
+                <property name="service.pid">stockQuote</property>
+            </properties>
+        </implementation.osgi>
+        
+        <property name="currency" type="xsd:string" >USD</property> 
+        <property name="exchangeRate" type="xsd:double" >2.0</property> 
+            
+    </component>
+
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-ds-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-ds-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-ds-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-ds-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,58 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+           name="StockQuoteComposite">
+
+    <component name="USDStockQuoteComponent">
+        <implementation.osgi 
+            bundle="stockquote.StockQuote" 
+            bundleLocation="file:target/properties/ds/StockQuoteFactory.jar" 
+            scope="COMPOSITE"
+            injectProperties="true">
+            
+            <properties service="StockQuoteService">
+                <property name="service.pid">stockQuote</property>
+            </properties>
+        </implementation.osgi>
+        
+        <property name="currency" type="xsd:string" >USD</property> 
+        <property name="exchangeRate" type="xsd:double" >2.0</property> 
+            
+    </component>
+    
+     <component name="EUROStockQuoteComponent">
+        <implementation.osgi 
+            bundle="stockquote.StockQuote" 
+            bundleLocation="file:target/properties/ds/StockQuoteFactory.jar" 
+            scope="COMPOSITE"
+            injectProperties="true">
+            
+            <properties service="StockQuoteService">
+                <property name="service.pid">stockQuote</property>
+            </properties>
+        </implementation.osgi>
+        
+        <property name="currency" type="xsd:string" >EURO</property> 
+        <property name="exchangeRate" type="xsd:double" >1.48</property> 
+            
+    </component>
+
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/properties2-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,52 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0" 
+           xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+           name="StockQuoteComposite">
+
+    <component name="USDStockQuoteComponent">
+        <implementation.osgi 
+            bundle="stockquote.StockQuote" 
+            bundleLocation="file:target/properties/StockQuoteFactory.jar" 
+            scope="COMPOSITE"
+            injectProperties="true">
+            
+        </implementation.osgi>
+        
+        <property name="currency" type="xsd:string" >USD</property> 
+        <property name="exchangeRate" type="xsd:double" >2.0</property> 
+            
+    </component>
+    
+    <component name="EUROStockQuoteComponent">
+        <implementation.osgi 
+            bundle="stockquote.StockQuote" 
+            bundleLocation="file:target/properties/StockQuoteFactory.jar" 
+            scope="COMPOSITE"
+            injectProperties="true">
+            
+        </implementation.osgi>
+        
+        <property name="currency" type="xsd:string" >EURO</property> 
+        <property name="exchangeRate" type="xsd:double" >1.48</property> 
+            
+    </component>
+
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-ds-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-ds-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-ds-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-ds-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,93 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent">
+        <implementation.osgi 
+                bundle="supplychain.CustomerServices"
+                bundleLocation="file:target/services/ds/Customer.jar" >
+            
+            <properties reference="retailer1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties reference="retailer2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties reference="retailer3">
+                <property name="retailerName">ebay.com</property>
+            </properties>            
+            
+        </implementation.osgi>
+        
+        <reference name="retailer1" target="RetailerComponent/RetailerService1"/>
+        
+        <reference name="retailer2" target="RetailerComponent/RetailerService2" />
+        
+        <reference name="retailer3" target="RetailerComponent/RetailerService3" />
+    </component>
+    
+    <component name="RetailerComponent">
+        <!-- implementation.java class="supplychain.retailer.JavaRetailerComponentImpl" -->
+        <implementation.osgi
+                bundle="supplychain.RetailerServices"
+                bundleLocation="file:target/services/ds/Retailer.jar" >
+            <properties service="RetailerService1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties service="RetailerService2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties service="RetailerService3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>    
+    </component>
+    
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent/ShipperService2"  />
+    </component>
+    
+
+    <component name="ShipperComponent">
+        <implementation.osgi     
+            bundle="supplychain.ShipperServices"   
+            bundleLocation="file:target/services/ds/Shipper.jar" >
+            
+            <properties service="ShipperService1">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+            <properties service="ShipperService2">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+         </implementation.osgi>
+        <reference name="customer" target="CustomerComponent" />
+        
+    </component>
+    
+    
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/services-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,92 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent">
+        <implementation.osgi 
+                bundle="supplychain.CustomerServices"
+                bundleLocation="file:target/services/Customer.jar" >
+            
+            <properties reference="retailer1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties reference="retailer2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties reference="retailer3">
+                <property name="retailerName">ebay.com</property>
+            </properties>            
+            
+        </implementation.osgi>
+        
+        <reference name="retailer1" target="RetailerComponent/RetailerService1"/>
+        
+        <reference name="retailer2" target="RetailerComponent/RetailerService2" />
+        
+        <reference name="retailer3" target="RetailerComponent/RetailerService3" />
+    </component>
+    
+    <component name="RetailerComponent">
+        <implementation.osgi
+                bundle="supplychain.RetailerServices"
+                bundleLocation="file:target/services/Retailer.jar" >
+            <properties service="RetailerService1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties service="RetailerService2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties service="RetailerService3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>    
+    </component>
+    
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent/ShipperService2"  />
+    </component>
+    
+
+    <component name="ShipperComponent">
+        <implementation.osgi     
+            bundle="supplychain.ShipperServices"   
+            bundleLocation="file:target/services/Shipper.jar" >
+            
+            <properties service="ShipperService1">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+            <properties service="ShipperService2">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+         </implementation.osgi>
+        <reference name="customer" target="CustomerComponent" />
+        
+    </component>
+    
+    
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-ds-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-ds-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-ds-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-ds-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,160 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent1">
+        <implementation.osgi 
+                bundle="supplychain.CustomerServices"
+                bundleLocation="file:target/version/ds/Customer1.jar" >
+                
+            <properties service="CustomerService">
+                <property name="component.name">CustomerComponent1</property>
+            </properties>
+            
+        </implementation.osgi>
+        
+        <reference name="retailer1" target="RetailerComponent1/RetailerService1"/>
+        
+        <reference name="retailer2" target="RetailerComponent1/RetailerService2" />
+        
+        <reference name="retailer3" target="RetailerComponent1/RetailerService3" />
+    </component>
+    
+    
+    
+    <component name="CustomerComponent2">
+        <implementation.osgi 
+                bundle="supplychain.CustomerServices"
+                bundleLocation="file:target/version/ds/Customer2.jar" >
+                
+            <properties service="CustomerService">
+                <property name="component.name">CustomerComponent2</property>
+            </properties>
+            
+        </implementation.osgi>
+            
+        <reference name="retailer1" target="RetailerComponent2/RetailerService1"/>
+        
+        <reference name="retailer2" target="RetailerComponent2/RetailerService2" />
+        
+        <reference name="retailer3" target="RetailerComponent2/RetailerService3" />
+    </component>
+
+    <component name="RetailerComponent1">
+        <implementation.osgi
+                bundle="supplychain.RetailerServices"
+                bundleLocation="file:target/version/ds/Retailer1.jar" >
+            <properties service="RetailerService1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties service="RetailerService2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties service="RetailerService3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+            <properties reference="warehouse">
+                <property name="component.service.name">WarehouseComponent1/Warehouse</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>    
+    </component>
+    
+    <component name="RetailerComponent2">
+        <implementation.osgi
+                bundle="supplychain.RetailerServices"
+                bundleLocation="file:target/version/ds/Retailer2.jar" >
+            <properties service="RetailerService1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties service="RetailerService2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties service="RetailerService3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+             <properties reference="warehouse">
+                <property name="component.service.name">WarehouseComponent2/Warehouse</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent2"/>
+    </component>
+
+   
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent1/ShipperService2"  />
+    </component>
+    
+    <component name="WarehouseComponent2">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent2/ShipperService2"  />
+    </component>
+
+    <component name="ShipperComponent1">
+        <implementation.osgi     
+            bundle="supplychain.ShipperServices"   
+            bundleLocation="file:target/version/ds/Shipper1.jar">
+            
+            <properties service="ShipperService1">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+            <properties service="ShipperService2">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+            <properties reference="customer">
+                <property name="component.name">CustomerComponent1</property>
+            </properties>
+         </implementation.osgi>
+         
+        <reference name="customer" target="CustomerComponent1" />
+    </component>
+    
+     <component name="ShipperComponent2">
+        <implementation.osgi 
+            bundle="supplychain.ShipperServices"   
+            bundleLocation="file:target/version/ds/Shipper2.jar">
+            
+            <properties service="ShipperService1">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+            <properties service="ShipperService2">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+            <properties reference="customer">
+                <property name="component.name">CustomerComponent2</property>
+            </properties>
+         </implementation.osgi>
+         
+        <reference name="customer" target="CustomerComponent2" />
+        
+    </component>
+    
+    
+    
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-test.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-test.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-test.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/version-test.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,150 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent1">
+        <implementation.osgi 
+                bundle="supplychain.CustomerServices"
+                bundleLocation="file:target/version/Customer1.jar" >
+            
+        </implementation.osgi>
+        
+        <reference name="retailer1" target="RetailerComponent1/RetailerService1"/>
+        
+        <reference name="retailer2" target="RetailerComponent1/RetailerService2" />
+        
+        <reference name="retailer3" target="RetailerComponent1/RetailerService3" />
+    </component>
+    
+    
+    
+    <component name="CustomerComponent2">
+        <implementation.osgi 
+                bundle="supplychain.CustomerServices"
+                bundleLocation="file:target/version/Customer2.jar" >
+            
+        </implementation.osgi>
+            
+        <reference name="retailer1" target="RetailerComponent2/RetailerService1"/>
+        
+        <reference name="retailer2" target="RetailerComponent2/RetailerService2" />
+        
+        <reference name="retailer3" target="RetailerComponent2/RetailerService3" />
+    </component>
+
+    <component name="RetailerComponent1">
+        <implementation.osgi
+                bundle="supplychain.RetailerServices"
+                bundleLocation="file:target/version/Retailer1.jar" >
+            <properties service="RetailerService1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties service="RetailerService2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties service="RetailerService3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+            
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>    
+    </component>
+    
+    <component name="RetailerComponent2">
+        <implementation.osgi
+                bundle="supplychain.RetailerServices"
+                bundleLocation="file:target/version/Retailer2.jar" >
+            <properties service="RetailerService1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties service="RetailerService2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties service="RetailerService3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+            <properties reference="warehouse">
+                <property name="component.service.name">WarehouseComponent2/Warehouse</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent2"/>
+    </component>
+
+   
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent1/ShipperService2"  />
+    </component>
+    
+    <component name="WarehouseComponent2">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent2/ShipperService2"  />
+    </component>
+
+    <component name="ShipperComponent1">
+        <implementation.osgi     
+            bundle="supplychain.ShipperServices"   
+            bundleLocation="file:target/version/Shipper1.jar">
+            
+            <properties service="ShipperService1">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+            <properties service="ShipperService2">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+            <properties reference="customer">
+                <property name="component.service.name">CustomerComponent1/CustomerService</property>
+            </properties>
+         </implementation.osgi>
+         
+        <reference name="customer" target="CustomerComponent1" />
+    </component>
+    
+     <component name="ShipperComponent2">
+        <implementation.osgi 
+            bundle="supplychain.ShipperServices"   
+            bundleLocation="file:target/version/Shipper2.jar">
+            
+            <properties service="ShipperService1">
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+            <properties service="ShipperService2">
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+            <properties reference="customer">
+                <property name="component.service.name">CustomerComponent2/CustomerService</property>
+            </properties>
+         </implementation.osgi>
+         
+        <reference name="customer" target="CustomerComponent2" />
+        
+    </component>
+    
+    
+    
+</composite>

Added: incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/wiring-ds-test1.composite
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/wiring-ds-test1.composite?view=auto&rev=552481
==============================================================================
--- incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/wiring-ds-test1.composite (added)
+++ incubator/tuscany/java/sca/itest/osgi-implementation/src/main/resources/sca/wiring-ds-test1.composite Mon Jul  2 05:16:31 2007
@@ -0,0 +1,142 @@
+<?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.    
+-->
+<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	targetNamespace="http://supplychain"
+	xmlns:sp="http://supplychain"
+	name="supplychain">
+
+    <component name="CustomerComponent">
+        <implementation.osgi 
+                bundle="supplychain.Customer"
+                bundleLocation="file:target/wiring/ds/Customer.jar" >
+            
+            <properties reference="retailer1">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties reference="retailer2">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties reference="retailer3">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+        </implementation.osgi>
+            
+        <reference name="retailer1" target="RetailerComponent1/Retailer" />
+        
+        <reference name="retailer2" target="RetailerComponent2/Retailer" />
+        
+        <reference name="retailer3" target="RetailerComponent3" />
+    </component>
+
+    <component name="RetailerComponent1">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/wiring/ds/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">amazon.com</property>
+            </properties>
+            <properties reference="warehouse">
+                <property name="component.name">WarehouseComponent1</property>
+            </properties>
+        </implementation.osgi>
+        <service name="Retailer"/>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>        
+        <property name="retailerName" type="xsd:string" >amazon.com</property> 
+    </component>
+    
+    <component name="RetailerComponent2">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/wiring/ds/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">play.com</property>
+            </properties>
+            <properties reference="warehouse">
+                <property name="component.name">WarehouseComponent1</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent1"/>
+        <property name="retailerName" type="xsd:string" >play.com</property> 
+    </component>
+    
+    
+    <component name="RetailerComponent3">
+        <implementation.osgi
+                bundle="supplychain.Retailer"
+                bundleLocation="file:target/wiring/ds/Retailer.jar" >
+            <properties service="Retailer">
+                <property name="retailerName">ebay.com</property>
+            </properties>
+            <properties reference="warehouse">
+                <property name="component.name">WarehouseComponent2</property>
+            </properties>
+        </implementation.osgi>
+        
+        <reference name="warehouse" target="WarehouseComponent2"/>
+        <property name="retailerName" type="xsd:string" >play.com</property> 
+    </component>
+
+
+    <component name="WarehouseComponent1">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent2"  />
+    </component>
+    
+    <component name="WarehouseComponent2">
+        <implementation.java class="supplychain.warehouse.JavaWarehouseComponentImpl" />
+        
+        <reference name="shipper" target="ShipperComponent1"  />
+    </component>
+
+    <component name="ShipperComponent1">
+        <implementation.osgi     
+            bundle="supplychain.Shipper"   
+            bundleLocation="file:target/wiring/ds/Shipper.jar" >
+            
+            <properties service="Shipper">
+                <property name="component.name">ShipperComponent1</property>
+                <property name="shipperName">RoyalMail</property>
+            </properties>
+        </implementation.osgi>
+        <reference name="customer" target="CustomerComponent" />
+        <property name="shipperName" type="xsd:string" >RoyalMail</property> 
+    </component>
+    
+     <component name="ShipperComponent2">
+        <implementation.osgi 
+            bundle="supplychain.Shipper"   
+            bundleLocation="file:target/wiring/ds/Shipper.jar" >
+            
+            <properties service="Shipper">
+                <property name="component.name">ShipperComponent2</property>
+                <property name="shipperName">ParcelForce</property>
+            </properties>
+        </implementation.osgi>
+        <reference name="customer" target="CustomerComponent" />
+        <property name="shipperName" type="xsd:string" >ParcelForce</property> 
+        
+    </component>
+    
+    
+</composite>



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org