Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.