Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 1 | <ipojo
|
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
| 3 | xsi:schemaLocation="org.apache.felix.ipojo http://people.apache.org/~clement/ipojo/schemas/core.xsd"
|
| 4 | xmlns="org.apache.felix.ipojo"
|
| 5 | >
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 6 |
|
| 7 | <!-- Static Dependencies -->
|
| 8 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 9 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 10 | name="StaticSimpleCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 11 | <requires field="fs" policy="static" />
|
| 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.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 16 | name="StaticVoidCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 17 | <requires field="fs" policy="static">
|
| 18 | <callback type="bind" method="voidBind" />
|
| 19 | <callback type="unbind" method="voidUnbind" />
|
| 20 | </requires>
|
| 21 | <provides />
|
| 22 | </component>
|
| 23 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 24 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 25 | name="StaticObjectCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 26 | <requires field="fs" policy="static">
|
| 27 | <callback type="bind" method="objectBind" />
|
| 28 | <callback type="unbind" method="objectUnbind" />
|
| 29 | </requires>
|
| 30 | <provides />
|
| 31 | </component>
|
| 32 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 33 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 34 | name="StaticRefCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 35 | <requires field="fs" policy="static">
|
| 36 | <callback type="bind" method="refBind" />
|
| 37 | <callback type="unbind" method="refUnbind" />
|
| 38 | </requires>
|
| 39 | <provides />
|
| 40 | </component>
|
| 41 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 42 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 43 | name="StaticBothCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 44 | <requires field="fs" policy="static">
|
| 45 | <callback type="bind" method="bothBind" />
|
| 46 | <callback type="unbind" method="bothUnbind" />
|
| 47 | </requires>
|
| 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.scenarios.service.dependency.policies.MethodCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 52 | name="StaticMObjectCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 53 | <requires policy="static">
|
| 54 | <callback type="bind" method="objectBind" />
|
| 55 | <callback type="unbind" method="objectUnbind" />
|
| 56 | </requires>
|
| 57 | <provides />
|
| 58 | </component>
|
| 59 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 60 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 61 | name="StaticMRefCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 62 | <requires
|
Clement Escoffier | 2bbf30b | 2008-11-05 13:10:54 +0000 | [diff] [blame^] | 63 | specification="org.apache.felix.ipojo.test.scenarios.service.dependency.service.FooService"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 64 | policy="static">
|
| 65 | <callback type="bind" method="refBind" />
|
| 66 | <callback type="unbind" method="refUnbind" />
|
| 67 | </requires>
|
| 68 | <provides />
|
| 69 | </component>
|
| 70 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 71 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 72 | name="StaticMBothCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 73 | <requires policy="static">
|
| 74 | <callback type="bind" method="bothBind" />
|
| 75 | <callback type="unbind" method="bothUnbind" />
|
| 76 | </requires>
|
| 77 | <provides />
|
| 78 | </component>
|
| 79 |
|
| 80 | <!-- Static Simple & Optional Dependencies -->
|
| 81 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 82 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 83 | name="StaticSimpleOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 84 | architecture="true">
|
| 85 | <requires field="fs" optional="true" policy="static" />
|
| 86 | <provides />
|
| 87 | </component>
|
| 88 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 89 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 90 | name="StaticVoidOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 91 | architecture="true">
|
| 92 | <requires field="fs" optional="true" policy="static">
|
| 93 | <callback type="bind" method="voidBind" />
|
| 94 | <callback type="unbind" method="voidUnbind" />
|
| 95 | </requires>
|
| 96 | <provides />
|
| 97 | </component>
|
| 98 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 99 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 100 | name="StaticObjectOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 101 | architecture="true">
|
| 102 | <requires field="fs" optional="true" policy="static">
|
| 103 | <callback type="bind" method="objectBind" />
|
| 104 | <callback type="unbind" method="objectUnbind" />
|
| 105 | </requires>
|
| 106 | <provides />
|
| 107 | </component>
|
| 108 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 109 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 110 | name="StaticRefOptionalCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 111 | <requires field="fs" optional="true" policy="static">
|
| 112 | <callback type="bind" method="refBind" />
|
| 113 | <callback type="unbind" method="refUnbind" />
|
| 114 | </requires>
|
| 115 | <provides />
|
| 116 | </component>
|
| 117 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 118 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.CheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 119 | name="StaticBothOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 120 | architecture="true">
|
| 121 | <requires field="fs" optional="true" policy="static">
|
| 122 | <callback type="bind" method="bothBind" />
|
| 123 | <callback type="unbind" method="bothUnbind" />
|
| 124 | </requires>
|
| 125 | <provides />
|
| 126 | </component>
|
| 127 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 128 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 129 | name="StaticMObjectOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 130 | architecture="true">
|
| 131 | <requires optional="true" policy="static">
|
| 132 | <callback type="bind" method="objectBind" />
|
| 133 | <callback type="unbind" method="objectUnbind" />
|
| 134 | </requires>
|
| 135 | <provides />
|
| 136 | </component>
|
| 137 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 138 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 139 | name="StaticMRefOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 140 | architecture="true">
|
| 141 | <requires
|
Clement Escoffier | 2bbf30b | 2008-11-05 13:10:54 +0000 | [diff] [blame^] | 142 | specification="org.apache.felix.ipojo.test.scenarios.service.dependency.service.FooService"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 143 | optional="true" policy="static">
|
| 144 | <callback type="bind" method="refBind" />
|
| 145 | <callback type="unbind" method="refUnbind" />
|
| 146 | </requires>
|
| 147 | <provides />
|
| 148 | </component>
|
| 149 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 150 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 151 | name="StaticMBothOptionalCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 152 | architecture="true">
|
| 153 | <requires
|
Clement Escoffier | 2bbf30b | 2008-11-05 13:10:54 +0000 | [diff] [blame^] | 154 | specification="org.apache.felix.ipojo.test.scenarios.service.dependency.service.FooService"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 155 | optional="true" policy="static">
|
| 156 | <callback type="bind" method="bothBind" />
|
| 157 | <callback type="unbind" method="bothUnbind" />
|
| 158 | </requires>
|
| 159 | <provides />
|
| 160 | </component>
|
| 161 | <!-- Static Multiple Dependencies -->
|
| 162 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 163 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 164 | name="StaticSimpleMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 165 | architecture="true">
|
| 166 | <requires field="fs" policy="static" />
|
| 167 | <provides />
|
| 168 | </component>
|
| 169 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 170 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 171 | name="StaticVoidMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 172 | architecture="true">
|
| 173 | <requires field="fs" policy="static">
|
| 174 | <callback type="bind" method="voidBind" />
|
| 175 | <callback type="unbind" method="voidUnbind" />
|
| 176 | </requires>
|
| 177 | <provides />
|
| 178 | </component>
|
| 179 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 180 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 181 | name="StaticObjectMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 182 | architecture="true">
|
| 183 | <requires field="fs" policy="static">
|
| 184 | <callback type="bind" method="objectBind" />
|
| 185 | <callback type="unbind" method="objectUnbind" />
|
| 186 | </requires>
|
| 187 | <provides />
|
| 188 | </component>
|
| 189 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 190 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 191 | name="StaticRefMultipleCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 192 | <requires field="fs" policy="static">
|
| 193 | <callback type="bind" method="refBind" />
|
| 194 | <callback type="unbind" method="refUnbind" />
|
| 195 | </requires>
|
| 196 | <provides />
|
| 197 | </component>
|
| 198 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 199 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 200 | name="StaticBothMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 201 | architecture="true">
|
| 202 | <requires field="fs" policy="static">
|
| 203 | <callback type="bind" method="bothBind" />
|
| 204 | <callback type="unbind" method="bothUnbind" />
|
| 205 | </requires>
|
| 206 | <provides />
|
| 207 | </component>
|
| 208 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 209 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodMultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 210 | name="StaticMObjectMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 211 | architecture="true">
|
| 212 | <requires aggregate="true" policy="static">
|
| 213 | <callback type="bind" method="objectBind" />
|
| 214 | <callback type="unbind" method="objectUnbind" />
|
| 215 | </requires>
|
| 216 | <provides />
|
| 217 | </component>
|
| 218 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 219 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodMultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 220 | name="StaticMRefMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 221 | architecture="true">
|
| 222 | <requires
|
Clement Escoffier | 2bbf30b | 2008-11-05 13:10:54 +0000 | [diff] [blame^] | 223 | specification="org.apache.felix.ipojo.test.scenarios.service.dependency.service.FooService"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 224 | aggregate="true" policy="static">
|
| 225 | <callback type="bind" method="refBind" />
|
| 226 | <callback type="unbind" method="refUnbind" />
|
| 227 | </requires>
|
| 228 | <provides />
|
| 229 | </component>
|
| 230 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 231 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.MethodMultipleCheckService"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 232 | name="StaticMBothMultipleCheckServiceProvider"
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 233 | architecture="true">
|
| 234 | <requires aggregate="true" policy="static">
|
| 235 | <callback type="bind" method="bothBind" />
|
| 236 | <callback type="unbind" method="bothUnbind" />
|
| 237 | </requires>
|
| 238 | <provides />
|
| 239 | </component>
|
| 240 |
|
| 241 | <!-- Dynamic-Priority -->
|
| 242 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 243 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.dynamic.priority.RankedFooProviderType1"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 244 | name="RankedFooProviderType" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 245 | <provides>
|
| 246 | <property field="m_grade" name="service.ranking"/>
|
| 247 | </provides>
|
| 248 | </component>
|
| 249 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 250 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.DynCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 251 | name="DPSimpleCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 252 | <requires field="fs" policy="dynamic-priority" />
|
| 253 | <provides />
|
| 254 | </component>
|
| 255 | <component
|
Clement Escoffier | f58887c | 2008-09-09 14:21:15 +0000 | [diff] [blame] | 256 | classname="org.apache.felix.ipojo.test.scenarios.service.dependency.policies.DynCheckServiceProvider"
|
Clement Escoffier | 17f8e81 | 2008-07-17 09:17:59 +0000 | [diff] [blame] | 257 | name="DPObjectCheckServiceProvider" architecture="true">
|
Clement Escoffier | 7737483 | 2008-04-29 22:25:39 +0000 | [diff] [blame] | 258 | <requires field="fs" policy="dynamic-priority">
|
| 259 | <callback type="bind" method="objectBind" />
|
| 260 | <callback type="unbind" method="objectUnbind" />
|
| 261 | </requires>
|
| 262 | <provides />
|
| 263 | </component>
|
| 264 | </ipojo>
|