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 java.lang.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 java.lang.String EMBEDDED_REGISTRY
          Deprecated. The value of the registry type field to use the embedded registry.
static java.lang.String PASSWORD
          Deprecated. The element name to store the registry password.
static java.lang.String READ_ONLY
          Deprecated. The element name to store whether the .
static java.lang.String REGISTRY_CONFIG
          Deprecated. The registry configuration root element name.
static java.lang.String REGISTRY_ROOT
          Deprecated. The element name to store the registry root.
static java.lang.String REMOTE_REGISTRY
          Deprecated. The value of the registry type field to mount a remote registry.
static java.lang.String SYSTEM_USER_NAME
          Deprecated. The system username of the registry.
static java.lang.String TYPE
          Deprecated. The element name to store registry type.
static java.lang.String URL
          Deprecated. The element name to store the registry url.
static java.lang.String USERNAME
          Deprecated. The element name to store the registry username.
 
Constructor Summary
RegistryConfiguration(java.lang.String carbonXMLPath)
          Deprecated. Initialize the registry configuration located in carbon.xml provided the carbon.xml path as an argument.
 
Method Summary
 java.lang.String getRegistryType()
          Deprecated. Get the registry type.
 java.lang.String getValue(java.lang.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 java.lang.String REGISTRY_CONFIG
Deprecated. 
The registry configuration root element name.

See Also:
Constant Field Values

TYPE

public static final java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.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 java.lang.String SYSTEM_USER_NAME
Deprecated. 
The system username of the registry.

See Also:
Constant Field Values

REMOTE_REGISTRY

public static final java.lang.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 java.lang.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(java.lang.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 java.lang.String getValue(java.lang.String key)
Deprecated. 
Get a configuration value.

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

getRegistryType

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

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


Copyright © 2011 WSO2 Inc. All Rights Reserved.