Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: lang ::
interface XMultiComponentFactory
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XMultiComponentFactory
Description Factory interface for creating component instances giving a context from which to retrieve deployment values. See also XInitialization Developers Guide 2.3.4 First Steps - Getting Started - First Connection - Getting Connected 3.3.1 Professional UNO - UNO Concepts - UNO Interprocess Connections 3.3.2 Professional UNO - UNO Concepts - Service Manager and Component Context 3.4.1 Professional UNO - UNO Language Bindings - Java Language Binding - Getting a Service Manager 3.4.2 Professional UNO - UNO Language Bindings - UNO C++ Binding - Establishing Interprocess Connections

Methods' Summary
createInstanceWithContext | Creates an instance of a component which supports the services specified by the factory.
createInstanceWithArgumentsAndContext | Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context.
getAvailableServiceNames | Gets the names of all supported services.

Methods' Details
createInstanceWithContext
::com::sun::star::uno::XInterface createInstanceWithContext( | [in] string [in] ::com::sun::star::uno::XComponentContext raises( | aServiceSpecifier, Context ) ::com::sun::star::uno::Exception );
Description Creates an instance of a component which supports the services specified by the factory. Parameter aServiceSpecifier service name Parameter Context context the component instance gets its deployment values from Returns component instance
createInstanceWithArgumentsAndContext
::com::sun::star::uno::XInterface createInstanceWithArgumentsAndContext( | [in] string [in] sequence< any > [in] ::com::sun::star::uno::XComponentContext raises( | ServiceSpecifier, Arguments, Context ) ::com::sun::star::uno::Exception );
Description Creates an instance of a component which supports the services specified by the factory, and initializes the new instance with the given arguments and context. Parameter ServiceSpecifier service name Parameter Arguments arguments Parameter Context context the component instance gets its deployment values from Returns component instance
getAvailableServiceNames
sequence< string > getAvailableServiceNames(); |  |
Description Gets the names of all supported services. Returns sequence of all service names

Top of Page

Copyright © 2003 Sun Microsystems, Inc.