Overview | Module | Use | Devguide | Index

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

:: com :: sun :: star :: registry ::
interface XImplementationRegistration
Description offers a registry for implementation objects and provides information about the registered implementations.

Methods' Summary
registerImplementation | registers a component which provides one or more implementations.
revokeImplementation | revokes a component and all their provided implementations from the registry.
getImplementations |
checkInstantiation |

Methods' Details
registerImplementation
void
registerImplementation( | [in] string | aImplementationLoader,
| [in] string | aLocation,
| [in] XSimpleRegistry | xReg )
raises( | CannotRegisterImplementationException );
Description registers a component which provides one or more implementations. Parameter aLocation specifies the location of the component with the URL. Parameter xReg specifies the registry where the component should be installed. If it is a NULL interface, then the component will be installed in the system registry (if this feature is supported).
revokeImplementation
boolean
revokeImplementation( | [in] string | aLocation,
| [in] XSimpleRegistry | xReg );
Description revokes a component and all their provided implementations from the registry. Parameter aLocation specifies the location of the component with the URL. Parameter xReg specifies the registry where the component should be installed. If it is a NULL interface, then the component will be revoked from the system registry (if this feature is supported).
getImplementations
sequence< string >
getImplementations( | [in] string | aImplementationLoader,
| [in] string | aLocation );
Returns the names of the implementations registered by the url location. Parameter aImplementationLoader specifies the name of the needed loader for this type of implementation. For example, the loader "com.sun.star.loader.SharedLibrary" for implementations that are realized as an SharedLibrary. Parameter aLocation specifies the location of the component with the URL.
checkInstantiation
sequence< string >
checkInstantiation( | [in] string | implementationName );
Returns a sequence with names of the missing services to create an instance of this implementation. Parameter implementationName specifies the name of the checked implementation.

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.