Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: lang ::
interface XMultiServiceFactory
Description
Factories support this interface creating instances giving a name,
e.g. a service name.
Note:
Although this interface deals with the notion of "services", this is not
generally be meant. In general this interface can be used for all kinds
of factories for all kinds of instances, indeed not only UNO services.
Developers Guide
ProUNO - Service Manager and Component Context
Methods' Details
createInstance
::com::sun::star::uno ::XInterface
createInstance (
[in] string
aServiceSpecifier )
raises(
::com::sun::star::uno ::Exception );
Description
Creates an instance classified by the specified name.
Parameter aServiceSpecifier
classified name of instance
Returns
instance
createInstanceWithArguments
::com::sun::star::uno ::XInterface
createInstanceWithArguments (
[in] string
ServiceSpecifier,
[in] sequence< any >
Arguments )
raises(
::com::sun::star::uno ::Exception );
Description
Creates an instance classified by the specified name and passes the arguments
to that instance.
Parameter ServiceSpecifier
classified name of instance
Parameter Arguments
arguments passed to the instance
Returns
instance
getAvailableServiceNames
sequence< string >
getAvailableServiceNames ();
Description
Provides the available names of the factory to be used to create instances.
Returns
sequence of all names
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.