summaryrefslogtreecommitdiffstats
path: root/java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite
diff options
context:
space:
mode:
authoredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-12-18 23:12:07 +0000
committeredwardsmj <edwardsmj@13f79535-47bb-0310-9956-ffa450edef68>2008-12-18 23:12:07 +0000
commit3449e2527900045def8d67438f1fdbda6710c40c (patch)
tree3e01c6f6f2d44fc2a517b0b25dc0f9d1b2a955cc /java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite
parent27cc4ecce579d6e1d11982d792e13f6e1fe80f94 (diff)
Tests updated to use composite files to contain each atomic implementation - permits replacement with different implementation type(s)
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@727853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite')
-rw-r--r--java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite47
1 files changed, 47 insertions, 0 deletions
diff --git a/java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite b/java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite
new file mode 100644
index 0000000000..1d474fe937
--- /dev/null
+++ b/java/sca/stest/sampleTest/src/main/resources/TestClient_0003.composite
@@ -0,0 +1,47 @@
+<?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"
+ targetNamespace="http://oasis/tests"
+ xmlns:tns="http://oasis/tests"
+ xmlns:sample="http://oasis/tests"
+ name="TestClient_0003">
+
+ <service name="TestInvocation" promote="TestClient/TestInvocation">
+ <interface.java interface="test.TestInvocation"/>
+ </service>
+
+ <property name="testName" type="string"/>
+
+ <component name="TestClient">
+ <implementation.java class="test.ASM_0003_Client"/>
+ <service name="TestInvocation">
+ <interface.java interface="test.TestInvocation"/>
+ </service>
+ <reference name="reference1">
+ <interface.java interface="test.Service1"/>
+ </reference>
+ <property name="testName" source="$testName"/>
+ </component>
+
+ <reference name="reference1" promote="TestClient/reference1" multiplicity="1..n">
+ <interface.java interface="test.Service1"/>
+ </reference>
+
+</composite>