com.ecebs.rtd.enabler
Interface IConfigManager

All Known Implementing Classes:
ConfigManager

public interface IConfigManager

A store for various configuration and platform information.

Author:
kyleb

Method Summary
 void clearLoginCredentials()
          Clears the login credentials
 void closeEnabler()
          Clean up any internal resources.
 void setLoginCredentials(String user, String password)
          Sets the login credentials used for basic authentication
 void setTestMode(boolean testMode)
          Sets the Config Manager into test mode.
 

Method Detail

setLoginCredentials

void setLoginCredentials(String user,
                         String password)
Sets the login credentials used for basic authentication

Parameters:
user - Username to be used
password - Password to be used

clearLoginCredentials

void clearLoginCredentials()
Clears the login credentials


setTestMode

void setTestMode(boolean testMode)
Sets the Config Manager into test mode. The effect of this depends on the Config Manager implementation, but it allows it to differentiate between live and test environments.

Parameters:
testMode - if true, sets the Config Manager in to test mode. Else, sets the ConfigManager to not be in test mode.

closeEnabler

void closeEnabler()
Clean up any internal resources. The enabler must not be used after calling this method.



Copyright © 2013 Ecebs Ltd. All Rights Reserved.