| |
|
| java.lang.Object org.lucane.server.ServerConfig
ServerConfig | public class ServerConfig (Code) | | Server configuration
|
ServerConfig | public ServerConfig(String filename) throws Exception(Code) | | Constructor
Parameters: filename - the XML config file |
getAuthenticatorClass | public String getAuthenticatorClass()(Code) | | Get the authenticator class to use
the class |
getDbDriver | public String getDbDriver()(Code) | | Get JDBC driver
the JDBC driver |
getDbLayer | public String getDbLayer()(Code) | | Get the DatabaseAbstractionLayer used
the concrete DatabaseLayer |
getDbLogin | public String getDbLogin()(Code) | | Get JDBC login
the JDBC login |
getDbPassword | public String getDbPassword()(Code) | | Get JDBC password
the JDBC password |
getDbPoolInitialSize | public int getDbPoolInitialSize()(Code) | | Get the pool initial size
the initial size |
getDbPoolMaxActive | public int getDbPoolMaxActive()(Code) | | Get the pool maximum number of active connections
maxActive |
getDbPoolMaxIdle | public int getDbPoolMaxIdle()(Code) | | Get the pool maximum number of idle connections
maxIdle |
getDbPoolMaxWait | public long getDbPoolMaxWait()(Code) | | Get the maximum time (in ms) to wait before throwing an error
if no connection is free in the pool
maxWait |
getDbPoolMinIdle | public int getDbPoolMinIdle()(Code) | | Get the pool minimun number of idle connections
minIdle |
getDbUrl | public String getDbUrl()(Code) | | Get JDBC url
the JDBC url |
getPort | public int getPort()(Code) | | Get server port
the server port |
getSslPassword | protected String getSslPassword()(Code) | | Get SSL password
the SSL password |
getSslPort | public int getSslPort()(Code) | | Get SSL port
the SSL port |
getStoreBackend | public String getStoreBackend()(Code) | | Get the backend used for Store
(should be database, or ldap later)
the backend for store |
isSslEnabled | public boolean isSslEnabled()(Code) | | Get ssl parameters
true if SSL is enabled |
|
|
|