<?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://java-api-tests" name="Property-Composite">

	<component name="AComponent">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.AServiceImpl" />
			<property name="p1">p1</property>
			<property name="p2">p2</property>
			<property name="p3">p3</property>
			<property name="p4">p4</property>
			<property name="p5">p5</property>
			<property name="p6">p6</property>
			<property name="p7" type="AObject">
				<AObject xmlns="">
					<aString>p7.aString</aString>
					<bInt>7</bInt>
				</AObject>
			</property>
			<property name="p8" type="AObject">
				<AObject xmlns="">
					<aString>p8.aString</aString>
					<bInt>8</bInt>
				</AObject>
			</property>
			<property name="p9" type="AObject">
				<AObject xmlns="">
					<aString>p9.aString</aString>
					<bInt>9</bInt>
				</AObject>
			</property>
			<property name="p10" type="AObject">
				<AObject xmlns="">
					<aString>p10.aString</aString>
					<bInt>10</bInt>
				</AObject>
			</property>
			<property name="p11" type="AObject">
				<AObject xmlns="">
					<aString>p11.aString</aString>
					<bInt>11</bInt>
				</AObject>
			</property>
			<property name="p12" type="AObject">
				<AObject xmlns="">
					<aString>p12.aString</aString>
					<bInt>12</bInt>
				</AObject>
			</property>
			<property name="pFifteen">p15</property>
			<property name="pSixteen">p16</property>
			<property name="p19" many="true"></property>
			<property name="p20" many="true">"p20"</property>
			<property name="p21" many="true">2 1 21</property>
	</component>

	<component name="CComponent1">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.CServiceImpl1" />
			<reference name="bOne" target="BComponent"/>
			<property name="pTwo">p2</property>
			<property name="pThree">3</property>
			<property name="pFour">p4</property>
	</component>

	<component name="CComponent2">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.CServiceImpl2" />
			<reference name="bOne" target="BComponent"/>
			<property name="pTwo">p2</property>
			<property name="pThree">3</property>
			<property name="pFour">p4</property>
	</component>

	<component name="CComponent3">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.CServiceImpl3" />
			<reference name="bOne" target="BComponent"/>
			<property name="pTwo">p2</property>
			<property name="pThree">3</property>
			<property name="pFour">p4</property>
	</component>

	<component name="CComponent4">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.CServiceImpl4" />
			<reference name="bOne" target="BComponent"/>
			<property name="pTwo">p2</property>
			<property name="pThree">3</property>
			<property name="pFour">p4</property>
	</component>

	<component name="CComponent5">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.CServiceImpl5" />
			<reference name="bOne" target="BComponent"/>
			<property name="pTwo">p2</property>
			<property name="pThree">3</property>
			<property name="pFour">p4</property>
	</component>
	
	<component name="CComponent6">
		<implementation.java
			class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.CServiceImpl6" />
			<reference name="bOne" target="BComponent"/>
			<property name="pTwo">p2</property>
			<property name="pThree">3</property>
			<property name="pFour">p4</property>
	</component>
	
    <component name="BComponent">
        <implementation.java class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.BServiceImpl"/>
    </component>    
    
    <component name="AnotherAComponent">
        <implementation.java
            class="org.apache.tuscany.sca.vtest.javaapi.annotations.property.impl.AnotherAServiceImpl" />
            <property name="p13">p13</property>
            <property name="p14">p14</property>
            <property name="p22">p22</property>
            <property name="p23">p23</property>
            <property name="p24">p24</property>
            <property name="p25">p25</property>
    </component>
</composite>
