DBConfig

public class DBConfig extends AbstractDBConfig

DBConfig encapsulates the database configuration, composed of as db url, username and password.

Constructors

DBConfig

public DBConfig(String url, String username, String password)
Parameters:
  • url
  • username
  • password
Throws:
  • org.motechproject.config.core.MotechConfigurationException – if given url is invalid.