public class RegistryServiceFactory
extends java.lang.Object
Constructor and Description |
---|
RegistryServiceFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static XMultiServiceFactory |
create()
Deprecated.
This bootstraps a service factory without initialize a registry.
|
static XMultiServiceFactory |
create(java.lang.String registryFile)
Deprecated.
This bootstraps an initial service factory working on a registry file.
|
static XMultiServiceFactory |
create(java.lang.String registryFile,
boolean readOnly)
Deprecated.
This bootstraps an initial service factory working on a registry file.
|
static XMultiServiceFactory |
create(java.lang.String writeRegistryFile,
java.lang.String readRegistryFile)
Deprecated.
This bootstraps an initial service factory working on a registry.
|
static XMultiServiceFactory |
create(java.lang.String writeRegistryFile,
java.lang.String readRegistryFile,
boolean readOnly)
Deprecated.
This bootstraps an initial service factory working on a registry.
|
public static XMultiServiceFactory create(java.lang.String writeRegistryFile, java.lang.String readRegistryFile) throws com.sun.star.uno.Exception
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.com.sun.star.uno.Exception
public static XMultiServiceFactory create(java.lang.String writeRegistryFile, java.lang.String readRegistryFile, boolean readOnly) throws com.sun.star.uno.Exception
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.com.sun.star.uno.Exception
public static XMultiServiceFactory create(java.lang.String registryFile) throws com.sun.star.uno.Exception
registryFile
- file name of the registry to use/ create; if this is an empty
string, the default registry is used insteadcom.sun.star.uno.Exception
public static XMultiServiceFactory create(java.lang.String registryFile, boolean readOnly) throws com.sun.star.uno.Exception
registryFile
- file name of the registry to use/ create; if this is an empty
string, the default registry is used insteadreadOnly
- 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.com.sun.star.uno.Exception
public static XMultiServiceFactory create() throws com.sun.star.uno.Exception
com.sun.star.uno.Exception