@Deprecated public class RegistryConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
EMBEDDED_REGISTRY
Deprecated.
The value of the registry type field to use the embedded registry.
|
static String |
PASSWORD
Deprecated.
The element name to store the registry password.
|
static String |
READ_ONLY
Deprecated.
The element name to store whether the .
|
static String |
REGISTRY_CONFIG
Deprecated.
The registry configuration root element name.
|
static String |
REGISTRY_ROOT
Deprecated.
The element name to store the registry root.
|
static String |
REMOTE_REGISTRY
Deprecated.
The value of the registry type field to mount a remote registry.
|
static String |
SYSTEM_USER_NAME
Deprecated.
The system username of the registry.
|
static String |
TYPE
Deprecated.
The element name to store registry type.
|
static String |
URL
Deprecated.
The element name to store the registry url.
|
static String |
USERNAME
Deprecated.
The element name to store the registry username.
|
Constructor and Description |
---|
RegistryConfiguration(String carbonXMLPath)
Deprecated.
Initialize the registry configuration located in carbon.xml provided the carbon.xml path as
an argument.
|
Modifier and Type | Method and Description |
---|---|
String |
getRegistryType()
Deprecated.
Get the registry type.
|
String |
getValue(String key)
Deprecated.
Get a configuration value.
|
public static final String REGISTRY_CONFIG
public static final String TYPE
public static final String USERNAME
public static final String PASSWORD
public static final String URL
public static final String REGISTRY_ROOT
public static final String READ_ONLY
public static final String SYSTEM_USER_NAME
public static final String REMOTE_REGISTRY
public static final String EMBEDDED_REGISTRY
public RegistryConfiguration(String carbonXMLPath) throws RegistryException
carbonXMLPath
- the path of the carbon.xmlRegistryException
- throws if the construction failedpublic String getValue(String key)
key
- the configuration key.public String getRegistryType()
Copyright © 2016 WSO2 Inc. All Rights Reserved.