Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: lang ::
interface XMultiServiceFactory
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-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 3.3.2 Professional UNO - UNO Concepts - Service Manager and Component Context

Methods' Summary
createInstance | Creates an instance classified by the specified name.
createInstanceWithArguments | Creates an instance classified by the specified name and passes the arguments to that instance.
getAvailableServiceNames | Provides the available names of the factory to be used to create instances.

Methods' Details
createInstance
::com::sun::star::uno::XInterface createInstance( | [in] string raises( | aServiceSpecifier ) ::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 [in] sequence< any > raises( | ServiceSpecifier, Arguments ) ::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.