diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-21 06:57:58 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-04-21 06:57:58 +0000 |
commit | bcbd88dfcf2f86725803d64fef01b231b2d531b9 (patch) | |
tree | bab35cccb40743017d2fa463459ab9441e6b22b4 /java/sca-1.x-contrib/modules/core-spring/src/test/resources/org/apache/tuscany/sca/core/spring/OuterCalculator.composite | |
parent | ff8a74d4c88b090dc8da19deca5bd432335dca38 (diff) |
Move to 1.x-contrib
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@767028 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca-1.x-contrib/modules/core-spring/src/test/resources/org/apache/tuscany/sca/core/spring/OuterCalculator.composite')
-rw-r--r-- | java/sca-1.x-contrib/modules/core-spring/src/test/resources/org/apache/tuscany/sca/core/spring/OuterCalculator.composite | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/java/sca-1.x-contrib/modules/core-spring/src/test/resources/org/apache/tuscany/sca/core/spring/OuterCalculator.composite b/java/sca-1.x-contrib/modules/core-spring/src/test/resources/org/apache/tuscany/sca/core/spring/OuterCalculator.composite new file mode 100644 index 0000000000..c2b6cced36 --- /dev/null +++ b/java/sca-1.x-contrib/modules/core-spring/src/test/resources/org/apache/tuscany/sca/core/spring/OuterCalculator.composite @@ -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:calc="http://calc" + targetNamespace="http://calc" + name="OuterCalculator"> + + <service name="CalculatorService" promote="CalculatorServiceComponent"> + <interface.java interface="calculator.CalculatorService"/> + </service> + + <component name="CalculatorServiceComponent"> + <implementation.composite name="calc:InnerCalculator"/> + <reference name="addService" target="OperationsServiceComponent/AddService"/> + <reference name="subtractService" target="OperationsServiceComponent/SubtractService"/> + <reference name="multiplyService" target="OperationsServiceComponent/MultiplyService"/> + <reference name="divideService" target="OperationsServiceComponent/DivideService"/> + </component> + + <component name="OperationsServiceComponent"> + <implementation.composite name="calc:InnerOperations"/> + </component> + +</composite> |