1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_lang_RegistryServiceManager_idl__ 24#define __com_sun_star_lang_RegistryServiceManager_idl__ 25 26#ifndef __com_sun_star_lang_ServiceManager_idl__ 27#include <com/sun/star/lang/ServiceManager.idl> 28#endif 29 30#ifndef __com_sun_star_lang_MultiServiceFactory_idl__ 31#include <com/sun/star/lang/MultiServiceFactory.idl> 32#endif 33 34#ifndef __com_sun_star_lang_XInitialization_idl__ 35#include <com/sun/star/lang/XInitialization.idl> 36#endif 37 38#ifndef __com_sun_star_beans_XPropertySet_idl__ 39#include <com/sun/star/beans/XPropertySet.idl> 40#endif 41 42#ifndef __com_sun_star_registry_XSimpleRegistry_idl__ 43#include <com/sun/star/registry/XSimpleRegistry.idl> 44#endif 45 46 47//============================================================================= 48 49module com { module sun { module star { module lang { 50 51//============================================================================= 52 53/** Provides a collection of implementations for services reading from a 54 persistent registry storage. 55 56 For usage of the service manager have a look at service description 57 of <type>ServiceManager</type>. 58 59 @see ServiceManager 60*/ 61published service RegistryServiceManager 62{ 63 /** This is a derived ServiceManager service. 64 */ 65 service com::sun::star::lang::ServiceManager; 66 67 /** The first two arguments of the intitialization arguments reference: 68 <ol> 69 <li>a simple registry 70 (<type scope="com::sun::star::registry">XSimpleRegistry</type>), 71 i.e. the registry to be read from</li> 72 <li>a component context 73 (<type scope="com::sun::star::uno">XComponentContext</type>) 74 to be installed as "DefaultContext" property of the 75 <type>ServiceManager</type> which is the context to be used 76 using the <type>XMultiServiceFactory</type> interface.</li> 77 </ol> 78 */ 79 interface com::sun::star::lang::XInitialization; 80 81 /** Property access. 82 */ 83 interface com::sun::star::beans::XPropertySet; 84 /** Specifies the current registry to be read from. 85 */ 86 [readonly, property] com::sun::star::registry::XSimpleRegistry Registry; 87}; 88 89//============================================================================= 90 91}; }; }; }; 92 93/*============================================================================= 94 95=============================================================================*/ 96#endif 97