:: 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 © 2012, 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.