Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 1 | <ipojo
|
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 3 | xsi:schemaLocation="org.apache.felix.ipojo http://felix.apache.org/ipojo/schemas/SNAPSHOT/core.xsd
|
| 4 | org.apache.felix.composite http://felix.apache.org/ipojo/schemas/SNAPSHOT/composite.xsd"
|
Clement Escoffier | 3269efa | 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 | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 8 | <!-- Used component type -->
|
| 9 | <component
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 10 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderType1"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 11 | name="COMPO-FooProviderType-1" architecture="true">
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 12 | <provides />
|
| 13 | </component>
|
| 14 | <component
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 15 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderType1"
|
Clement Escoffier | 832ab7a | 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 | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 27 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderTypeDyn"
|
Clement Escoffier | 832ab7a | 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 | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 39 | classname="org.apache.felix.ipojo.test.composite.component.FooProviderTypeDyn2"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 40 | name="COMPO-FooProviderType-Dyn2" architecture="true">
|
Clement Escoffier | 832ab7a | 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 | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 51 | classname="org.apache.felix.ipojo.test.composite.component.CheckServiceProvider"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 52 | name="COMPO-SimpleCheckServiceProvider" architecture="true">
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 53 | <requires field="fs" />
|
| 54 | <provides />
|
| 55 | </component>
|
| 56 | <component
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 57 | classname="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 58 | name="COMPO-FooBarProviderType-1" architecture="true">
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 59 | <provides />
|
| 60 | </component>
|
| 61 | <component
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 62 | classname="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 63 | name="COMPO-FooBarProviderType-2" architecture="true">
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 64 | <provides
|
Clement Escoffier | 0304dab | 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 | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 66 | </component>
|
| 67 | <component
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 68 | classname="org.apache.felix.ipojo.test.composite.component.FooBarProviderType1"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 69 | name="COMPO-FooBarProviderType-3" architecture="true">
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 70 | <provides
|
Clement Escoffier | 0304dab | 2008-12-29 18:59:40 +0000 | [diff] [blame] | 71 | specifications="{org.apache.felix.ipojo.test.composite.service.FooService}">
|
Clement Escoffier | 832ab7a | 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 | 0304dab | 2008-12-29 18:59:40 +0000 | [diff] [blame] | 75 | specifications="{org.apache.felix.ipojo.test.composite.service.BarService}">
|
Clement Escoffier | 832ab7a | 2008-04-25 16:49:43 +0000 | [diff] [blame] | 76 | <property name="baz" type="java.lang.String" value="bar" />
|
| 77 | </provides>
|
| 78 | </component>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 79 |
|
Clement Escoffier | cdb4b17 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 80 | <component
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 81 | classname="org.apache.felix.ipojo.test.composite.component.BazProviderType1"
|
| 82 | name="BazProviderType">
|
Clement Escoffier | cdb4b17 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 83 | <provides />
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 84 | </component>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 85 |
|
Clement Escoffier | cdb4b17 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 86 | <component
|
| 87 | classname="org.apache.felix.ipojo.test.composite.component.TataProvider"
|
Clement Escoffier | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 88 | name="tata">
|
Clement Escoffier | cdb4b17 | 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 | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 94 | name="toto" architecture="true">
|
Clement Escoffier | cdb4b17 | 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 | 65158f8 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 100 | name="totoglue">
|
Clement Escoffier | cdb4b17 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 101 | <requires field="m_toto" scope="composite" />
|
| 102 | </component>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 103 |
|
Clement Escoffier | cdb4b17 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 104 | <!-- Composite -->
|
Clement Escoffier | 3269efa | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 105 | <comp:composite name="composite.empty" architecture="true">
|
| 106 | </comp:composite>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 107 |
|
Clement Escoffier | 3269efa | 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 | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 109 | <requires field="fs" scope="composite"/>
|
| 110 | <provides/>
|
| 111 | </component>
|
Clement Escoffier | c80b73d | 2009-07-03 13:16:24 +0000 | [diff] [blame] | 112 |
|
Clement Escoffier | e50ede5 | 2008-03-28 15:33:36 +0000 | [diff] [blame] | 113 | </ipojo>
|