Overview | Module | Use | Devguide | Index

Constructors' Summary | Constructors' Details

:: com :: sun :: star :: ucb ::
service UniversalContentBroker
Supported Interface XUniversalContentBroker
Description is a one-instance service that provides access to a set of Contents via ContentProviders. Traditionally, this service implements ::com::sun::star::lang::XInitialization and needed to be instantiated once with two arguments via XMultiComponentFactory::createInstanceWithArgumentsAndContext for configuration before it could be obtained via plain XMultiComponentFactory::createInstanceWithContext. However, the only pair of initialization arguments used in practice is `"Local"`/`"Office"`, so this service is simplified now to automatically configure itself with that argument pair upon first instantiation. (For backwards compatibility, the service implementation still supports ::com::sun::star::lang::XInitialization and can still explicitly be initialized via XMultiComponentFactory::createInstanceWithArgumentsAndContext with two arguments of type string. These strings are used as a pair of keys to retrieve a set of content provider descriptions from the configuration management (stored at `org.openoffice.ucb.Configuration.ContentProviders.key1.SecondaryKeys.key2.ProviderData` within the configuration management's hierarchy). The retrieved descriptions are in turn used to register the corresponding content provider services at the broker.) Developers Guide UCB - Universal Content Broker - Capabilities UCB - Instantiating the UCB

Constructors' Summary
create | The (default) constructor.

Constructors' Details
create
create();
Description The (default) constructor. (This default constructor is only mentioned explicitly for technical reasons, so that its implementation calls the service implementation's XInitialization::initialize.)

Top of Page

Copyright © 2000, 2014 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.