Class IdmLightConfig
- java.lang.Object
-
- org.opendaylight.aaa.datastore.h2.IdmLightConfig
-
@Immutable public abstract class IdmLightConfig extends Object
Responsible for providing configuration properties for the IDMLight/H2 data store implementation.- Author:
- [email protected] - Initial contribution, Michael Vorburger.ch - Made it configurable, as Immutable with Builder
-
-
Constructor Summary
Constructors Constructor Description IdmLightConfig()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getDbConnectionString()
The JDBC database connection string.String
getDbConnectionStringPrefix()
The JDBC default connection string.String
getDbDirectory()
The database directory for the h2 database file.String
getDbDriver()
The database JDBC driver, default is H2; a pure-java implementation.String
getDbName()
The filename for the H2 database file.abstract String
getDbPwd()
The database password.abstract String
getDbUser()
The database username.int
getDbValidTimeOut()
Timeout for database connections in seconds.void
log()
-
-
-
Method Detail
-
getDbName
@Default public String getDbName()
The filename for the H2 database file.- Returns:
- data base name
-
getDbDirectory
@Default public String getDbDirectory()
The database directory for the h2 database file. Either absolute or relative to KARAF_HOME.- Returns:
- data base dir
-
getDbDriver
@Default public String getDbDriver()
The database JDBC driver, default is H2; a pure-java implementation.- Returns:
- data base driver
-
getDbUser
public abstract String getDbUser()
The database username. This is not the same as AAA credentials!- Returns:
- data base user
-
getDbPwd
public abstract String getDbPwd()
The database password. This is not the same as AAA credentials!- Returns:
- data base password
-
getDbValidTimeOut
@Default public int getDbValidTimeOut()
Timeout for database connections in seconds.- Returns:
- data base valid time out
-
getDbConnectionStringPrefix
@Default public String getDbConnectionStringPrefix()
The JDBC default connection string.- Returns:
- data base connection prefix
-
getDbConnectionString
@Default public String getDbConnectionString()
The JDBC database connection string.- Returns:
- data base connection
-
log
public void log()
-
-