com.sun.star.comp.helper
public class RegistryServiceFactory extends Object
Deprecated: use class Bootstrap instead
The class provides a set of methods which create instances of the com.sun.star.lang.RegistryServiceManager service.Method Summary | |
---|---|
static XMultiServiceFactory | create(String writeRegistryFile, String readRegistryFile)
This bootstraps an initial service factory working on a registry. |
static XMultiServiceFactory | create(String writeRegistryFile, String readRegistryFile, boolean readOnly)
This bootstraps an initial service factory working on a registry. |
static XMultiServiceFactory | create(String registryFile)
This bootstraps an initial service factory working on a registry file.
|
static XMultiServiceFactory | create(String registryFile, boolean readOnly)
This bootstraps an initial service factory working on a registry file.
|
static XMultiServiceFactory | create()
This bootstraps a service factory without initialize a registry.
|
Parameters: writeRegistryFile file name of the simple registry or the first registry file of the nested registry which will be opened with read/write rights. This file will be created if necessary. readRegistryFile file name of the second registry file of the nested registry which will be opened with readonly rights.
Returns: a new RegistryServiceFactory.
Parameters: writeRegistryFile file name of the simple registry or the first registry file of the nested registry which will be opened with read/write rights. This file will be created if necessary. readRegistryFile file name of the second registry file of the nested registry which will be opened with readonly rights. readOnly flag which specify that the first registry file will be opened with readonly rights. Default is FALSE. If this flag is used the registry will not be created if not exist.
Returns: a new RegistryServiceFactory
Parameters: registryFile file name of the registry to use/ create; if this is an empty string, the default registry is used instead
Returns: a new RegistryServiceFactory.
Parameters: registryFile file name of the registry to use/ create; if this is an empty string, the default registry is used instead readOnly flag which specify that the registry file will be opened with readonly rights. Default is FALSE. If this flag is used the registry will not be created if not exist.
Returns: a new RegistryServiceFactory.
Returns: a new RegistryServiceFactory.