summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/vtest/assembly/composite/src/main/resources/nonuniquereference_inner.composite
diff options
context:
space:
mode:
authorslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-11-28 14:01:33 +0000
committerslaws <slaws@13f79535-47bb-0310-9956-ffa450edef68>2008-11-28 14:01:33 +0000
commitbba7d6e0871b4d33e1a65aedc1249c95806da9d3 (patch)
tree51134b41090589c40a46aa71089e4d108daba3f8 /branches/sca-java-1.x/vtest/assembly/composite/src/main/resources/nonuniquereference_inner.composite
parentd0ec0698db4f3d3025c563b588602b0598900aa0 (diff)
TUSCANY-2689 - Some new composite vtests. Thanks for the patch Susan
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@721498 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--branches/sca-java-1.x/vtest/assembly/composite/src/main/resources/nonuniquereference_inner.composite39
1 files changed, 39 insertions, 0 deletions
diff --git a/branches/sca-java-1.x/vtest/assembly/composite/src/main/resources/nonuniquereference_inner.composite b/branches/sca-java-1.x/vtest/assembly/composite/src/main/resources/nonuniquereference_inner.composite
new file mode 100644
index 0000000000..603061c7b0
--- /dev/null
+++ b/branches/sca-java-1.x/vtest/assembly/composite/src/main/resources/nonuniquereference_inner.composite
@@ -0,0 +1,39 @@
+<?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"
+ xmlns:assembly-tests="http://assembly-tests"
+ targetNamespace="http://assembly-tests"
+ name="Assembly-non-unique-reference-inner--Composite">
+
+ <service name="AService" promote="AComponent"/>
+
+ <component name="AComponent">
+ <implementation.java
+ class="org.apache.tuscany.sca.vtest.assembly.composite.impl.AServiceImpl" />
+ <reference name="b" />
+ <reference name="c" />
+ </component>
+
+ <reference name="NonUniqueReference" promote="AComponent/b" />
+ <reference name="NonUniqueReference" promote="AComponent/c" />
+
+ <!--
+ <reference name="b" promote="AComponent/b" />
+ <reference name="c" promote="AComponent/c" />
+ -->
+
+</composite>