Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: lang ::
interface XMultiComponentFactory
Description Factory interface for creating component instances giving a context from which to retrieve deployment values. See also XInitialization Developers Guide ProUNO - Service Manager and Component Context FirstSteps - First Contact - Getting Started ProUNO - Java - Getting a Service Manager ProUNO - C++ - Establishing Interprocess Connections ProUNO - UNO Interprocess Connections ProUNO - C++ - Transparent Use of Office UNO Components ProUNO - Java - Transparent Use of Office UNO Components

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 | aServiceSpecifier,
| [in] ::com::sun::star::uno::XComponentContext | Context )
raises( | ::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 | ServiceSpecifier,
| [in] sequence< any > | Arguments,
| [in] ::com::sun::star::uno::XComponentContext | Context )
raises( | ::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 © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.