1<?xml version="1.0" encoding="UTF-8"?> 2<!--*********************************************************** 3 * 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the 9 * "License"); you may not use this file except in compliance 10 * with the License. You may obtain a copy of the License at 11 * 12 * http://www.apache.org/licenses/LICENSE-2.0 13 * 14 * Unless required by applicable law or agreed to in writing, 15 * software distributed under the License is distributed on an 16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 * KIND, either express or implied. See the License for the 18 * specific language governing permissions and limitations 19 * under the License. 20 * 21 ***********************************************************--> 22 23<components cfg:package="uno" 24 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 25 xmlns:cfg="http://openoffice.org/2000/registry/instance" 26 xmlns="http://openoffice.org/2000/uno/Components"> 27 28 29<services cfg:type="set" cfg:element-type="service"> 30 31 <service cfg:name="com.sun.star.script.Converter"> 32 <available-implementations cfg:type="string" cfg:derivedBy="list"> 33 com.sun.star.comp.stoc.TypeConverter 34 </available-implementations> 35 </service> 36 37 <service cfg:name="com.sun.star.bootstrap.TestComponent0"> 38 <available-implementations cfg:type="string" cfg:derivedBy="list"> 39 com.sun.star.comp.bootstrap.TestComponent0 40 </available-implementations> 41 <context-properties cfg:type="set" cfg:element-type="cfg:any"> 42 <cfg:any cfg:name="serviceprop0" cfg:type="int">13</cfg:any> 43 <cfg:any cfg:name="serviceprop1" cfg:type="string">value of serviceprop1</cfg:any> 44 </context-properties> 45 </service> 46 47</services> 48 49 50<implementations cfg:type="set" cfg:element-type="implementation"> 51 52 <implementation cfg:name="com.sun.star.comp.stoc.TypeConverter"> 53 <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator> 54 <url cfg:type="string">tcv.dll</url> 55 <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.script.Converter</supported-services> 56 </implementation> 57 58 <implementation cfg:name="com.sun.star.comp.bootstrap.TestComponent0"> 59 <activator cfg:type="string">com.sun.star.loader.SharedLibrary</activator> 60 <url cfg:type="string">cfg_test.dll</url> 61 <supported-services cfg:type="string" cfg:derivedBy="list">com.sun.star.bootstrap.TestComponent0</supported-services> 62 <context-properties cfg:type="set" cfg:element-type="cfg:any"> 63 <cfg:any cfg:name="implprop0" cfg:type="int">15</cfg:any> 64 <cfg:any cfg:name="implprop1" cfg:type="string">value of implprop1</cfg:any> 65 </context-properties> 66 </implementation> 67 68</implementations> 69 70 71<singletons cfg:type="set" cfg:element-type="singleton"> 72 73 <singleton cfg:name="com.sun.star.script.theConverter"> 74 <used-service cfg:type="string">com.sun.star.script.Converter</used-service> 75 </singleton> 76 77 <singleton cfg:name="com.sun.star.bootstrap.theTestComponent0"> 78 <used-service cfg:type="string">com.sun.star.bootstrap.TestComponent0</used-service> 79 <initial-arguments cfg:type="set" cfg:element-type="cfg:any"> 80 <cfg:any cfg:name="0" cfg:type="string">first argument</cfg:any> 81 <cfg:any cfg:name="1" cfg:type="string">second argument</cfg:any> 82 <cfg:any cfg:name="2" cfg:type="string">third argument</cfg:any> 83 </initial-arguments> 84 </singleton> 85 86</singletons> 87 88 89<global-context-properties cfg:type="set" cfg:element-type="cfg:any"> 90 91 <cfg:any cfg:name="TestValue" cfg:type="int">5</cfg:any> 92 93</global-context-properties> 94 95 96</components> 97