Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 1 | <ipojo
|
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | afaeb3d | 2008-12-22 17:30:12 +0000 | [diff] [blame] | 3 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/core.xsd
|
| 4 | org.apache.felix.composite http://felix.apache.org/ipojo/schemas/1.1.0-SNAPSHOT/composite.xsd"
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 5 | xmlns="org.apache.felix.ipojo"
|
| 6 | xmlns:comp="org.apache.felix.ipojo.composite"
|
| 7 | xmlns:cs="org.apache.felix.ipojo.test.composite.handler.CheckServiceHandler">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 8 | <!-- Used component type -->
|
| 9 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 10 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderType1"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 11 | name="COMPO-FooProviderType-1" architecture="true">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 12 | <provides />
|
| 13 | </component>
|
| 14 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 15 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderType1"
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 16 | name="COMPO-FooProviderType-2" architecture="true">
|
| 17 | <provides>
|
| 18 | <property name="int" type="int" value="2" />
|
| 19 | <property name="long" type="long" value="40" />
|
| 20 | <property name="string" type="java.lang.String" value="foo" />
|
| 21 | <property name="strAProp" type="java.lang.String[]"
|
| 22 | value="{foo, bar}" />
|
| 23 | <property name="intAProp" type="int[]" value="{1,2,3}" />
|
| 24 | </provides>
|
| 25 | </component>
|
| 26 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 27 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderTypeDyn"
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 28 | name="COMPO-FooProviderType-Dyn" architecture="true">
|
| 29 | <provides>
|
| 30 | <property name="int" field="intProp" value="2" />
|
| 31 | <property name="boolean" field="boolProp" value="false" />
|
| 32 | <property name="string" field="strProp" value="foo" />
|
| 33 | <property name="strAProp" field="strAProp"
|
| 34 | value="{foo, bar}" />
|
| 35 | <property name="intAProp" field="intAProp" value="{ 1,2,3}" />
|
| 36 | </provides>
|
| 37 | </component>
|
| 38 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 39 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderTypeDyn2"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 40 | name="COMPO-FooProviderType-Dyn2" architecture="true">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 41 | <provides>
|
| 42 | <property name="int" field="intProp" value="4" />
|
| 43 | <property name="boolean" field="boolProp" />
|
| 44 | <property name="string" field="strProp" />
|
| 45 | <property name="strAProp" field="strAProp" />
|
| 46 | <property name="intAProp" field="intAProp"
|
| 47 | value="{1, 2,3 }" />
|
| 48 | </provides>
|
| 49 | </component>
|
| 50 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 51 | classname="org.apache.felix.ipojo.test.composite.component.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 52 | name="COMPO-SimpleCheckServiceProvider" architecture="true">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 53 | <requires field="fs" />
|
| 54 | <provides />
|
| 55 | </component>
|
| 56 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 57 | classname="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 58 | name="COMPO-FooBarProviderType-1" architecture="true">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 59 | <provides />
|
| 60 | </component>
|
| 61 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 62 | classname="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 63 | name="COMPO-FooBarProviderType-2" architecture="true">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 64 | <provides
|
Clement Escoffier | df788b4 | 2008-12-29 18:59:40 +0000 | [diff] [blame^] | 65 | specifications="{org.apache.felix.ipojo.test.composite.service.FooService, org.apache.felix.ipojo.test.composite.service.BarService }" />
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 66 | </component>
|
| 67 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 68 | classname="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 69 | name="COMPO-FooBarProviderType-3" architecture="true">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 70 | <provides
|
Clement Escoffier | df788b4 | 2008-12-29 18:59:40 +0000 | [diff] [blame^] | 71 | specifications="{org.apache.felix.ipojo.test.composite.service.FooService}">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 72 | <property name="baz" type="java.lang.String" value="foo" />
|
| 73 | </provides>
|
| 74 | <provides
|
Clement Escoffier | df788b4 | 2008-12-29 18:59:40 +0000 | [diff] [blame^] | 75 | specifications="{org.apache.felix.ipojo.test.composite.service.BarService}">
|
Clement Escoffier | ad6c555 | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 76 | <property name="baz" type="java.lang.String" value="bar" />
|
| 77 | </provides>
|
| 78 | </component>
|
| 79 |
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 80 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 81 | classname="org.apache.felix.ipojo.test.composite.component.BazProviderType1"
|
| 82 | name="BazProviderType">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 83 | <provides />
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 84 | </component>
|
| 85 |
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 86 | <component
|
| 87 | classname="org.apache.felix.ipojo.test.composite.component.TataProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 88 | name="tata">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 89 | <provides />
|
| 90 | </component>
|
| 91 |
|
| 92 | <component
|
| 93 | classname="org.apache.felix.ipojo.test.composite.component.TotoProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 94 | name="toto" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 95 | <provides />
|
| 96 | </component>
|
| 97 |
|
| 98 | <component
|
| 99 | classname="org.apache.felix.ipojo.test.composite.component.TotoProviderGlue"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 100 | name="totoglue">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 101 | <requires field="m_toto" scope="composite" />
|
| 102 | </component>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 103 |
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 104 | <!-- Composite -->
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 105 | <comp:composite name="composite.empty" architecture="true">
|
| 106 | </comp:composite>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 107 |
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 108 | <component classname="org.apache.felix.ipojo.test.composite.component.Baz2CheckProvider" name="Baz2CheckProvider" architecture="true">
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 109 | <requires field="fs" scope="composite"/>
|
| 110 | <provides/>
|
| 111 | </component>
|
Clement Escoffier | ce0e1e5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 112 |
|
| 113 | </ipojo>
|