Public Member Functions | |
LSDLoadConfig () | |
boolean | initConfig (String filename) |
Public Attributes | |
String | driver = null |
String | server = null |
String | user = null |
String | passwd = null |
Static Private Attributes | |
static final String | LC_DRIVER = "/openlsddb/driver" |
static final String | LC_SERVER = "/openlsddb/server" |
static final String | LC_SERVERUSER = "/openlsddb/user" |
static final String | LC_SERVERPWD = "/openlsddb/password" |
static final String | LC_TIMEOUTCON = "/openlsddb/timeoutcon" |
static final String | LC_TIMEOUT = "/openlsddb/timeout" |
static final String | LC_BLOCKSIZE = "/openlsddb/blocksize" |
static final String | LC_SLF4JPATH = "/openlsddb/slf4jpath" |
static final String | LC_LSDBUSINESS = "/openlsddb/business" |
openlsd.common.LSDLoadConfig.LSDLoadConfig | ( | ) |
Create a new LoadConfig but do not load the config
boolean openlsd.common.LSDLoadConfig.initConfig | ( | String | filename | ) |
Load the config from the config filename for standard client support. (xml config file containing driver and server configuration as <driver>com.mysql.jdbc.Driver</driver> <server>jdbc:mysql://localhost/lsd</server> <user>lsd</user> and <password>lsd</password>).
filename |
String openlsd.common.LSDLoadConfig.driver = null |
Driver after Config is loaded
String openlsd.common.LSDLoadConfig.server = null |
Server after Config is loaded
String openlsd.common.LSDLoadConfig.user = null |
User after Config is loaded
String openlsd.common.LSDLoadConfig.passwd = null |
Password after Config is loaded
final String openlsd.common.LSDLoadConfig.LC_DRIVER = "/openlsddb/driver" [static, private] |
Access into the XML config file XML Path: DB Driver
final String openlsd.common.LSDLoadConfig.LC_SERVER = "/openlsddb/server" [static, private] |
XML Path: DB Server
final String openlsd.common.LSDLoadConfig.LC_SERVERUSER = "/openlsddb/user" [static, private] |
XML Path: DB User
final String openlsd.common.LSDLoadConfig.LC_SERVERPWD = "/openlsddb/password" [static, private] |
XML Path: DB Password
final String openlsd.common.LSDLoadConfig.LC_TIMEOUTCON = "/openlsddb/timeoutcon" [static, private] |
XML Path: TimeOut for Connection
final String openlsd.common.LSDLoadConfig.LC_TIMEOUT = "/openlsddb/timeout" [static, private] |
XML Path: TimeOut once connected
final String openlsd.common.LSDLoadConfig.LC_BLOCKSIZE = "/openlsddb/blocksize" [static, private] |
XML Path: Blocksize
final String openlsd.common.LSDLoadConfig.LC_SLF4JPATH = "/openlsddb/slf4jpath" [static, private] |
XML Path: Log4J configuration file
final String openlsd.common.LSDLoadConfig.LC_LSDBUSINESS = "/openlsddb/business" [static, private] |
XML Path: full class name for business implementation