:: com :: sun :: star ::

module registry
Description
Interfaces to access registration databases.

Services
::com::sun::star::registry::DefaultRegistry implicitly supports a local registry and a read-only system registry for global information. In the context of this service, the functions open , close , and destroy from ::com::sun::star::registry::XSimpleRegistry are not supported and throw an exception if they are used.
::com::sun::star::registry::ImplementationRegistration is the implementation of the interface ::com::sun::star::registry::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::NestedRegistry supports a shared view on two different registries. The registry files will be opened in two different modes, registry1 will be opened with read/write rights and registry2 will be opened read-only. In the context of this service, the functions open , close , and destroy from ::com::sun::star::registry::XSimpleRegistry are not supported and throw an exception if they are used.
::com::sun::star::registry::SimpleRegistry makes it possible to create, open, or close a registry. Further, it is possible to merge a registry under a specified key in the open registry. Guarantees:
Interfaces
::com::sun::star::registry::XImplementationRegistration offers a registry for implementation objects and provides information about the registered implementations.
::com::sun::star::registry::XRegistryKey makes structural information (except regarding tree structures) of a single registry key accessible.
::com::sun::star::registry::XSimpleRegistry allows access to a registry (a persistent data source). The data is stored in a hierarchical key structure beginning with a root key. Each key can store a value and can have multiple subkeys.
Exceptions
::com::sun::star::registry::CannotRegisterImplementationException is thrown when an application tries to register a new component (implementation) using the ::com::sun::star::registry::XImplementationRegistration::registerImplementation() method, but the component cannot be registered. The reason for this exception could be:

::com::sun::star::registry::InvalidRegistryException signals that the registry is invalid or an operation on the registry failed.
::com::sun::star::registry::InvalidValueException signals that the value of the key is invalid or does not have the appropriate key type.
::com::sun::star::registry::MergeConflictException is thrown if entries of two registries are contradictory in the context of ::com::sun::star::registry::XSimpleRegistry::mergeKey()e method.
Enums
::com::sun::star::registry::RegistryKeyType represents all possible types of a key.
::com::sun::star::registry::RegistryValueType represents all possible types of a key value.
Top of Page