1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 module com
{ module sun
{ module star
{ module lang
{
25 /** Provides a collection of implementations of services.
27 <p>The factories for instantiating objects of implementations
28 are accessed via a service name.</p>
30 <p>The com::sun::star::container::XContentEnumerationAccess
31 interface can be supported optionally.
32 If it is supported, it is possible to enumerate all implementations that
33 support the service specified with the argument of
34 com::sun::star::container::XContentEnumerationAccess::createContentEnumeration().
35 The enumerator returns interfaces. The type of the interface is not specified.
36 Commonly this is XSingleComponentFactory.</p>
38 published service MultiServiceFactory
40 /** This interface uses a service name to instantiate a component
41 which supports the specified service.
43 interface com
::sun
::star
::lang
::XMultiServiceFactory
;
45 /** This interface uses a service name and a component context to instantiate
46 a component which supports the specified service.
48 interface com
::sun
::star
::lang
::XMultiComponentFactory
;
55 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */