interface XImplementationRegistration in module com::sun::star::registry::

(Global Index)

Syntax

interface XImplementationRegistration : com::sun::star::uno::XInterface ;

Description

offers a registry for implementation objects and provides information about the registered implementations.

Method Summary

registerImplementation registers one or more implementations.

revokeImplementation revokes one or more implementations from the registry.

getImplementations

checkInstantiation

Known Services Which Export this Interface

com::sun::star::registry::ImplementationRegistration

com::sun::star::registry::ImplementationRegistration

Method Details



registerImplementation

Syntax

void registerImplementation (
string aImplementationLoader,
string aLocation,
com::sun::star::registry::XSimpleRegistry xReg )
raises ( com::sun::star::registry::CannotRegisterImplementationException );

Description

registers one or more implementations.

The location of the implementation is specified with the URL.


revokeImplementation

Syntax

boolean revokeImplementation (
string aLocation,
com::sun::star::registry::XSimpleRegistry xReg );

Description

revokes one or more implementations from the registry.

The location of the implementation is specified with the URL.


getImplementations

Syntax

sequence< string > getImplementations (
string aImplementationLoader,
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 implementation.

checkInstantiation

Syntax

sequence< string > checkInstantiation (
string implementationName );

Returns

a sequence with names of the missing services to create an instance of this implementation.
Top of Page