- 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
-
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 © 2003 Sun Microsystems, Inc.
|