org.wso2.carbon.registry.core.config
Class RegistryConfiguration

java.lang.Object
  extended by org.wso2.carbon.registry.core.config.RegistryConfiguration

Deprecated.

@Deprecated
public class RegistryConfiguration
extends Object

This class is to initialize, validate the registry related configurations in carbon.xml. This method of storing registry configuration is deprecated from WSO2 Carbon 2.0.2


Field Summary
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 Summary
RegistryConfiguration(String carbonXMLPath)
          Deprecated. Initialize the registry configuration located in carbon.xml provided the carbon.xml path as an argument.
 
Method Summary
 String getRegistryType()
          Deprecated. Get the registry type.
 String getValue(String key)
          Deprecated. Get a configuration value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REGISTRY_CONFIG

public static final String REGISTRY_CONFIG
Deprecated. 
The registry configuration root element name.

See Also:
Constant Field Values

TYPE

public static final String TYPE
Deprecated. 
The element name to store registry type. Possible values are "remote" and "embedded".

See Also:
Constant Field Values

USERNAME

public static final String USERNAME
Deprecated. 
The element name to store the registry username. Requires if the "Type" is selected as "remote".

See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
Deprecated. 
The element name to store the registry password. Requires if the "Type" is selected as "remote".

See Also:
Constant Field Values

URL

public static final String URL
Deprecated. 
The element name to store the registry url. Requires if the "Type" is selected as "remote".

See Also:
Constant Field Values

REGISTRY_ROOT

public static final String REGISTRY_ROOT
Deprecated. 
The element name to store the registry root. The registry chroot to be mounted.

See Also:
Constant Field Values

READ_ONLY

public static final String READ_ONLY
Deprecated. 
The element name to store whether the . The registry chroot to be mounted.

See Also:
Constant Field Values

SYSTEM_USER_NAME

public static final String SYSTEM_USER_NAME
Deprecated. 
The system username of the registry.

See Also:
Constant Field Values

REMOTE_REGISTRY

public static final String REMOTE_REGISTRY
Deprecated. 
The value of the registry type field to mount a remote registry.

See Also:
Constant Field Values

EMBEDDED_REGISTRY

public static final String EMBEDDED_REGISTRY
Deprecated. 
The value of the registry type field to use the embedded registry.

See Also:
Constant Field Values
Constructor Detail

RegistryConfiguration

public RegistryConfiguration(String carbonXMLPath)
                      throws RegistryException
Deprecated. 
Initialize the registry configuration located in carbon.xml provided the carbon.xml path as an argument.

Parameters:
carbonXMLPath - the path of the carbon.xml
Throws:
RegistryException - throws if the construction failed
Method Detail

getValue

public String getValue(String key)
Deprecated. 
Get a configuration value.

Parameters:
key - the configuration key.
Returns:
the configuration value.

getRegistryType

public String getRegistryType()
Deprecated. 
Get the registry type.

Returns:
the registry type. possible values "embedded", "remote"


Copyright © 2013 WSO2 Inc. All Rights Reserved.