Top   Module   Use   Manual   Index 
 INCLUDED SERVICES | EXPORTED INTERFACES | PROPERTIES' SUMMARY | PROPERTIES' DETAILS 

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

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 instantiate 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 read-only property Registry . All other methods are optional.

Properties' Summary

Registry specifies the current registry.

Properties' Details

Registry
 
[ 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