update dev300-m58
[ooovba.git] / udkapi / com / sun / star / lang / MultiServiceFactory.idl
blob989c6a3b74d330e9e762e15e130a9963d2cad539
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: MultiServiceFactory.idl,v $
10 * $Revision: 1.15 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_lang_MultiServiceFactory_idl__
31 #define __com_sun_star_lang_MultiServiceFactory_idl__
33 #ifndef __com_sun_star_lang_XMultiServiceFactory_idl__
34 #include <com/sun/star/lang/XMultiServiceFactory.idl>
35 #endif
36 #ifndef __com_sun_star_lang_XMultiComponentFactory_idl__
37 #include <com/sun/star/lang/XMultiComponentFactory.idl>
38 #endif
40 #ifndef __com_sun_star_lang_XServiceInfo_idl__
41 #include <com/sun/star/lang/XServiceInfo.idl>
42 #endif
45 //=============================================================================
47 module com { module sun { module star { module lang {
49 //=============================================================================
51 /** Provides a collection of implementations of services.
53 <p>The factories for instantiating objects of implemetations
54 are accessed via a service name.</p>
56 <p>The <type scope="com::sun::star::container">XContentEnumerationAccess</type>
57 interface can be supported optionally.
58 If it is suported, it is possible to enumerate all implementations that
59 support the service specified with the argument of
60 <member scope="com::sun::star::container">XContentEnumerationAccess::createContentEnumeration</member>.
61 The enumerator returns interfaces. The type of the interface is not specified.
62 Commonly this is <type>XSingleComponentFactory</type>.</p>
64 published service MultiServiceFactory
66 /** This interface uses a service name to instantiate a component
67 which supports the specified service.
69 interface com::sun::star::lang::XMultiServiceFactory;
71 /** This interface uses a service name and a component context to instantiate
72 a component which supports the specified service.
74 interface com::sun::star::lang::XMultiComponentFactory;
76 /** Factories, as well as all other services, should always support
77 this interface.
79 interface com::sun::star::lang::XServiceInfo;
82 //=============================================================================
84 }; }; }; };
86 /*=============================================================================
88 =============================================================================*/
89 #endif