diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-26 15:53:39 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-06-26 15:53:39 +0000 |
commit | 4188f3b99254b0a01c6d0fb04ebc94d55f2e95c4 (patch) | |
tree | a5dc5ddf5752eb145850bb591bdf799d65d3915c /tags/java/sca/2.0-M3-RC2/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite | |
parent | 09750661c590a94c1a1586676ad27198ef7ebed6 (diff) |
Tag 2.0 M3 release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@788749 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tags/java/sca/2.0-M3-RC2/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite')
-rw-r--r-- | tags/java/sca/2.0-M3-RC2/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tags/java/sca/2.0-M3-RC2/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite b/tags/java/sca/2.0-M3-RC2/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite new file mode 100644 index 0000000000..a5510954e0 --- /dev/null +++ b/tags/java/sca/2.0-M3-RC2/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite @@ -0,0 +1,42 @@ +<?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://docs.oasis-open.org/ns/opencsa/sca/200903"
+ xmlns:tuscany="http://tuscany.apache.org/xmlns/sca/1.1"
+ targetNamespace="http://sample"
+ xmlns:sample="http://sample"
+ name="Calculator">
+
+ <component name="CalculatorServiceComponent">
+ <implementation.java class="calculator.CalculatorServiceImpl"/>
+ <reference name="addService"> + <tuscany:binding.rmi uri="rmi://localhost:8099/CalculatorRMIService"/> + </reference>
+ <reference name="subtractService"> + <tuscany:binding.rmi uri="rmi://localhost:8099/CalculatorRMIService"/> + </reference>
+ <reference name="multiplyService"> + <tuscany:binding.rmi uri="rmi://localhost:8099/CalculatorRMIService"/> + </reference>
+ <reference name="divideService"> + <tuscany:binding.rmi uri="rmi://localhost:8099/CalculatorRMIService"/> + </reference>
+ </component>
+
+</composite>
|