blob: dc1c764482cbf91fe99e1f2b045203c8e0c11d04 [file] [log] [blame]
Clement Escoffier77374832008-04-29 22:25:39 +00001<ipojo xmlns:cs="org.apache.felix.ipojo.test.composite.handler.CheckServiceHandler">
2 <composite name="composite.bar.1" architecture="true">
3 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.BarService"/>
4 </composite>
5
6 <composite name="composite.bar.2" architecture="true">
7 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.BarService" aggregate="true"/>
8 </composite>
9
10 <composite name="composite.bar.3" architecture="true">
11 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.BarService" optional="true"/>
12 </composite>
13
14 <composite name="composite.bar.4" architecture="true">
15 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.FooService" aggregate="true" optional="true"/>
16 </composite>
17
18 <composite name="composite.bar.5-accept" architecture="true">
19 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.FooService">
20 <property name="boolean" value="true"/>
21 <property name="string" value="foo"/>
22 <property name="strAprop" value="{foo, bar, baz}"/>
23 <property name="int" value="5"/>
24 </subservice>
25 </composite>
26
27 <composite name="composite.bar.5-refuse1" architecture="true">
28 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.BarService">
29 <property name="foo" value="bar"/>
30 <property name="boolean" value="true"/>
31 <property name="string" value="foo"/>
32 <property name="strAprop" value="{foo, bar, baz}"/>
33 <property name="int" value="5"/>
34 </subservice>
35 </composite>
36
37 <composite name="composite.bar.5-refuse2" architecture="true">
38 <subservice action="instantiate" specification="org.apache.felix.ipojo.test.composite.service.BarService">
39 <property name="string" value="foo"/>
40 <property name="strAprop" value="{foo, bar, baz}"/>
41 </subservice>
42 </composite>
43
44 <!-- Instance of a specified component -->
45 <composite name="composite.inst.1" factory="true" architecture="true">
46 <instance component="COMPO-FooProviderType-1" /> <!-- name="FooProv" -->
47 <instance component="COMPO-FooProviderType-Dyn2">
48 <property name="boolean" value="true"/>
49 <property name="string" value="foo"/>
50 <property name="strAProp" value="{a,b,c}"/>
51 </instance>
52 </composite>
53
54</ipojo>