|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.star.comp.helper.RegistryServiceFactory
The class provides a set of methods which create instances of the com.sun.star.lang.RegistryServiceManager service.
Constructor Summary | |
RegistryServiceFactory()
|
Method Summary | |
static com.sun.star.lang.XMultiServiceFactory |
create()
This bootstraps a service factory without initialize a registry. |
static com.sun.star.lang.XMultiServiceFactory |
create(java.lang.String registryFile)
This bootstraps an initial service factory working on a registry file. |
static com.sun.star.lang.XMultiServiceFactory |
create(java.lang.String registryFile,
boolean readOnly)
This bootstraps an initial service factory working on a registry file. |
static com.sun.star.lang.XMultiServiceFactory |
create(java.lang.String writeRegistryFile,
java.lang.String readRegistryFile)
This bootstraps an initial service factory working on a registry. |
static com.sun.star.lang.XMultiServiceFactory |
create(java.lang.String writeRegistryFile,
java.lang.String readRegistryFile,
boolean readOnly)
This bootstraps an initial service factory working on a registry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RegistryServiceFactory()
Method Detail |
public static com.sun.star.lang.XMultiServiceFactory create(java.lang.String writeRegistryFile, java.lang.String readRegistryFile) throws 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.
Exception
public static com.sun.star.lang.XMultiServiceFactory create(java.lang.String writeRegistryFile, java.lang.String readRegistryFile, boolean readOnly) throws 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.
Exception
public static com.sun.star.lang.XMultiServiceFactory create(java.lang.String registryFile) throws Exception
registryFile
- file name of the registry to use/ create; if this is an empty
string, the default registry is used instead
Exception
public static com.sun.star.lang.XMultiServiceFactory create(java.lang.String registryFile, boolean readOnly) throws 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.
Exception
public static com.sun.star.lang.XMultiServiceFactory create() throws Exception
Exception
|
UNO Java Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |