summaryrefslogtreecommitdiffstats
path: root/sca-cpp/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite')
-rw-r--r--sca-cpp/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite66
1 files changed, 66 insertions, 0 deletions
diff --git a/sca-cpp/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite b/sca-cpp/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite
new file mode 100644
index 0000000000..f7bad01614
--- /dev/null
+++ b/sca-cpp/tags/cpp-1.0-incubating-M2-final/sca/samples/SupplyChain/supplychain.retailer.solution.composite
@@ -0,0 +1,66 @@
+<?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="supplychain.retailer.solution">
+
+ <component name="supplychain.Retailer">
+ <implementation.composite name="supplychain.retailer"/>
+ <reference name="warehouse">supplychain.WarehouseA/WarehouseService</reference>
+ <reference name="warehouse">supplychain.WarehouseB/WarehouseService</reference>
+ <reference name="warehouse">supplychain.WarehouseC/WarehouseService</reference>
+ <reference name="logging">supplychain.Logging/LoggingService</reference>
+ </component>
+
+ <component name="supplychain.WarehouseA">
+ <implementation.composite name="supplychain.warehouse"/>
+ <reference name="manufacturer">supplychain.manufacturerA/ManufacturerService</reference>
+ <reference name="logging">supplychain.Logging/LoggingService</reference>
+ <property name="warehouseID">warehouseA</property>
+ </component>
+
+ <component name="supplychain.WarehouseB">
+ <implementation.composite name="supplychain.warehouse"/>
+ <reference name="manufacturer">supplychain.manufacturerB/ManufacturerService</reference>
+ <reference name="logging">supplychain.Logging/LoggingService</reference>
+ <property name="warehouseID">warehouseB</property>
+ </component>
+
+ <component name="supplychain.WarehouseC">
+ <implementation.composite name="supplychain.warehouse"/>
+ <reference name="manufacturer">supplychain.manufacturerA/ManufacturerService</reference>
+ <reference name="logging">supplychain.Logging/LoggingService</reference>
+ <property name="warehouseID">warehouseC</property>
+ </component>
+
+ <wire>
+ <source>supplychain.manufacturerA/callback</source>
+ <target>supplychain.WarehouseA/WarehouseCallbackService</target>
+ </wire>
+ <wire>
+ <source>supplychain.manufacturerB/callback</source>
+ <target>supplychain.WarehouseB/WarehouseCallbackService</target>
+ </wire>
+ <wire>
+ <source>supplychain.manufacturerC/callback</source>
+ <target>supplychain.WarehouseC/WarehouseCallbackService</target>
+ </wire>
+
+</composite>