Top   Module   Use   Manual   Index 
 EXPORTING SERVICES | METHODS' SUMMARY | METHODS' DETAILS 

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

interface XImplementationRegistration

Base Interface
com::sun::star::uno::XInterface

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


Known Services which Export this Interface

com::sun::star::registry::ImplementationRegistration is the implementation of the interface XImplementationRegistration . This service can be used to install or uninstall components (implementations). Further, it is possible to check if all runtime dependencies (needed services) are available to use a specified component. Guarantees:
com::sun::star::registry::ImplementationRegistration is the implementation of the interface XImplementationRegistration . This service can be used to install or uninstall components (implementations). Further, it is possible to check if all runtime dependencies (needed services) are available to use a specified component. Guarantees:

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 ] com::sun::star::registry::XSimpleRegistry xReg )
raises ( com::sun::star::registry::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 the component will be installed in the system registry.
revokeImplementation
 
boolean
revokeImplementation(
[ in ] string aLocation,
[ in ] com::sun::star::registry::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 the component will be revoked from the system registry.
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