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

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

public class RemoteConfiguration
extends Object

This class contains configuration of a remote instance.


Constructor Summary
RemoteConfiguration()
           
 
Method Summary
 String getDbConfig()
          Method to obtain the database configuration.
 String getId()
          Method to obtain the instance identifier.
 String getReadOnly()
          Method to obtain whether the registry is read only or not.
 String getRegistryRoot()
          Method to obtain the root of the remote registry instance.
 String getResolvedTrustedPwd()
           
 String getTrustedPwd()
          Method to obtain the trusted user's password.
 String getTrustedUser()
          Method to obtain the trusted username.
 String getUrl()
          Method to obtain the connection URL.
 void setDbConfig(String dbConfig)
          Method to set the database configuration.
 void setId(String id)
          Method to set the instance identifier.
 void setPasswordManager(org.wso2.pwprovider.PasswordManager passwordManager)
           
 void setReadOnly(String readOnly)
          Method to set whether the registry is read only or not.
 void setRegistryRoot(String registryRoot)
          Method to set the root of the remote registry instance.
 void setTrustedPwd(String trustedPwd)
          Method to set the trusted user's password.
 void setTrustedUser(String trustedUser)
          Method to set the trusted username.
 void setUrl(String url)
          Method to set the connection URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteConfiguration

public RemoteConfiguration()
Method Detail

setPasswordManager

public void setPasswordManager(org.wso2.pwprovider.PasswordManager passwordManager)

getResolvedTrustedPwd

public String getResolvedTrustedPwd()

getId

public String getId()
Method to obtain the instance identifier.

Returns:
the instance identifier.

setId

public void setId(String id)
Method to set the instance identifier.

Parameters:
id - the instance identifier.

getUrl

public String getUrl()
Method to obtain the connection URL.

Returns:
the connection URL.

setUrl

public void setUrl(String url)
Method to set the connection URL.

Parameters:
url - the connection URL.

getTrustedUser

public String getTrustedUser()
Method to obtain the trusted username.

Returns:
the trusted username.

setTrustedUser

public void setTrustedUser(String trustedUser)
Method to set the trusted username.

Parameters:
trustedUser - the trusted username.

getTrustedPwd

public String getTrustedPwd()
Method to obtain the trusted user's password.

Returns:
the trusted user's password.

setTrustedPwd

public void setTrustedPwd(String trustedPwd)
Method to set the trusted user's password.

Parameters:
trustedPwd - the trusted user's password.

getDbConfig

public String getDbConfig()
Method to obtain the database configuration.

Returns:
the database configuration.

setDbConfig

public void setDbConfig(String dbConfig)
Method to set the database configuration.

Parameters:
dbConfig - the database configuration.

getReadOnly

public String getReadOnly()
Method to obtain whether the registry is read only or not.

Returns:
whether the registry is read only or not.

setReadOnly

public void setReadOnly(String readOnly)
Method to set whether the registry is read only or not.

Parameters:
readOnly - whether the registry is read only or not.

getRegistryRoot

public String getRegistryRoot()
Method to obtain the root of the remote registry instance.

Returns:
the root of the remote registry instance.

setRegistryRoot

public void setRegistryRoot(String registryRoot)
Method to set the root of the remote registry instance.

Parameters:
registryRoot - the root of the remote registry instance.


Copyright © 2010. All Rights Reserved.