service RegistryServiceManager in module com::sun::star::lang::

(Global Index)

Syntax

service RegistryServiceManager;

Description

provides a collection of and a registry for implementations for services.

The factories are accessed with a service name. It is possible to access the factories with their implementation name, but that should be avoided.

The first argument of the XInitialization::initialization method may be a reference to a simple registry ( XSimpleRegistry ). If it is not initialized with a registry, then the default registry "com::sun::star::registry::DefaultRegistry" is used. If this registry is not found, then the manager works without a registry.

You can get the current registry with XPropertySet::getPropertyValue .

The interfaces added through the XSet interfaces should support the following interfaces:

XServiceInfo
is used to support access through the implementation with service names.
XSingleServiceFactory
is used to instanciate components from the implementation.
XPropertySet (optional)
provides additional information on the implementation.
XComponent (optional)
The service manager calls dispose on the registered factories. The service manager adds a listener to this factory. The factory is automatically revoked if the disposing listener is notified.

Included Services


com::sun::star::lang::ServiceManager

com::sun::star::lang::MultiServiceFactory

Exported Interfaces


com::sun::star::lang::XInitialization

Description

The first argument of the intitialization method of this interface may be a reference to a simple registry ( XSimpleRegistry ).


com::sun::star::beans::XPropertySet

Description

The method getPropertyValue must be implemented to get the readonly property Registry . All other methods are optional.

Property Summary

Registry specifies the current registry.

Property Details



Registry

Syntax

[readonly] com::sun::star::registry::XSimpleRegistry Registry;

Description

specifies the current registry.

This property will be initialized by XInitialization or the default registry.

Top of Page