Update git submodules
[LibreOffice.git] / udkapi / com / sun / star / uno / XComponentContext.idl
blob12b4b485e05ed0eb9c04a84da27c903dd0770b88
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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 .
21 module com { module sun { module star { module lang {
22 published interface XMultiComponentFactory;
23 }; }; }; };
25 module com { module sun { module star { module uno {
27 /** Component context to be passed to a component via
28 com::sun::star::lang::XSingleComponentFactory.
29 Arbitrary values (e.g. deployment values) can be retrieved from the context.
31 published interface XComponentContext : XInterface
33 /** Gets a value from the context.
35 @param Name
36 name of value
37 @return
38 value
40 any getValueByName( [in] string Name );
42 /** Gets the service manager instance to be used from key
43 <code>/singletons/com.sun.star.lang.theServiceManager</code>.
44 This method has been added for convenience, because the
45 service manager is used very often.
47 @return
48 service manager; throws DeploymentException in case service
49 manager is null
51 com::sun::star::lang::XMultiComponentFactory getServiceManager();
54 }; }; }; };
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */