|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sun.star.comp.helper
Class RegistryServiceFactory
java.lang.Object com.sun.star.comp.helper.RegistryServiceFactory
Deprecated. use class Bootstrap instead
public class RegistryServiceFactory
- extends Object
The class provides a set of methods which create instances of the com.sun.star.lang.RegistryServiceManager service.
Constructor Summary | |
---|---|
RegistryServiceFactory()
Deprecated. |
Method Summary | |
---|---|
static XMultiServiceFactory |
create()
Deprecated. This bootstraps a service factory without initialize a registry. |
static XMultiServiceFactory |
create(String registryFile)
Deprecated. This bootstraps an initial service factory working on a registry file. |
static XMultiServiceFactory |
create(String registryFile,
boolean readOnly)
Deprecated. This bootstraps an initial service factory working on a registry file. |
static XMultiServiceFactory |
create(String writeRegistryFile,
String readRegistryFile)
Deprecated. This bootstraps an initial service factory working on a registry. |
static XMultiServiceFactory |
create(String writeRegistryFile,
String readRegistryFile,
boolean readOnly)
Deprecated. 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 |
---|
RegistryServiceFactory
public RegistryServiceFactory()
- Deprecated.
Method Detail |
---|
create
public static XMultiServiceFactory create(String writeRegistryFile, String readRegistryFile) throws Exception
- Deprecated.
- This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid 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.
- Throws:
Exception
- This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid registry.
create
public static XMultiServiceFactory create(String writeRegistryFile, String readRegistryFile, boolean readOnly) throws Exception
- Deprecated.
- This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid 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.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
- Throws:
Exception
- This bootstraps an initial service factory working on a registry. If the first or both parameters contain a value then the service factory is initialized with a simple registry or a nested registry. Otherwise the service factory must be initialized later with a valid registry.
create
public static XMultiServiceFactory create(String registryFile) throws Exception
- Deprecated.
- This bootstraps an initial service factory working on a registry file.
- 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.
- Throws:
Exception
- This bootstraps an initial service factory working on a registry file.
create
public static XMultiServiceFactory create(String registryFile, boolean readOnly) throws Exception
- Deprecated.
- This bootstraps an initial service factory working on a registry file.
- Parameters:
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.- Returns:
- a new RegistryServiceFactory.
- Throws:
Exception
- This bootstraps an initial service factory working on a registry file.
create
public static XMultiServiceFactory create() throws Exception
- Deprecated.
- This bootstraps a service factory without initialize a registry.
- Returns:
- a new RegistryServiceFactory.
- Throws:
Exception
- This bootstraps a service factory without initialize a registry.
|
UDK 3.2.7 Java API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |