xref: /AOO41X/main/cppuhelper/test/cfg_data/instance/uno/components.xml (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
1<?xml version="1.0" encoding="UTF-8"?>
2
3<components cfg:package="uno"
4            xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
5            xmlns:cfg="http://openoffice.org/2000/registry/instance"
6	    xmlns="http://openoffice.org/2000/uno/Components">
7
8
9<services cfg:type="set" cfg:element-type="service">
10
11 <service cfg:name="com.sun.star.script.Converter">
12  <available-implementations cfg:type="string" cfg:derivedBy="list">
13   com.sun.star.comp.stoc.TypeConverter
14  </available-implementations>
15 </service>
16
17 <service cfg:name="com.sun.star.bootstrap.TestComponent0">
18  <available-implementations cfg:type="string" cfg:derivedBy="list">
19   com.sun.star.comp.bootstrap.TestComponent0
20  </available-implementations>
21  <context-properties cfg:type="set" cfg:element-type="cfg:any">
22   <cfg:any cfg:name="serviceprop0" cfg:type="int">13</cfg:any>
23   <cfg:any cfg:name="serviceprop1" cfg:type="string">value of serviceprop1</cfg:any>
24  </context-properties>
25 </service>
26
27</services>
28
29
30<implementations cfg:type="set" cfg:element-type="implementation">
31
32 <implementation cfg:name="com.sun.star.comp.stoc.TypeConverter">
33  <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator>
34  <url cfg:type="string">tcv.dll</url>
35  <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.script.Converter</supported-services>
36 </implementation>
37
38 <implementation cfg:name="com.sun.star.comp.bootstrap.TestComponent0">
39  <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator>
40  <url cfg:type="string">cfg_test.dll</url>
41  <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.bootstrap.TestComponent0</supported-services>
42  <context-properties cfg:type="set" cfg:element-type="cfg:any">
43   <cfg:any cfg:name="implprop0" cfg:type="int">15</cfg:any>
44   <cfg:any cfg:name="implprop1" cfg:type="string">value of implprop1</cfg:any>
45  </context-properties>
46 </implementation>
47
48</implementations>
49
50
51<singletons cfg:type="set" cfg:element-type="singleton">
52
53 <singleton cfg:name="com.sun.star.script.theConverter">
54  <used-service cfg:type="string">com.sun.star.script.Converter</used-service>
55 </singleton>
56
57 <singleton cfg:name="com.sun.star.bootstrap.theTestComponent0">
58  <used-service cfg:type="string">com.sun.star.bootstrap.TestComponent0</used-service>
59  <initial-arguments cfg:type="set" cfg:element-type="cfg:any">
60   <cfg:any cfg:name="0" cfg:type="string">first argument</cfg:any>
61   <cfg:any cfg:name="1" cfg:type="string">second argument</cfg:any>
62   <cfg:any cfg:name="2" cfg:type="string">third argument</cfg:any>
63  </initial-arguments>
64 </singleton>
65
66</singletons>
67
68
69<global-context-properties cfg:type="set" cfg:element-type="cfg:any">
70
71 <cfg:any cfg:name="TestValue" cfg:type="int">5</cfg:any>
72
73</global-context-properties>
74
75
76</components>
77