@ParameterConfig(prefix="connection.", loadAllFields=true) public class ConnectionParameters extends Object
Modifier and Type | Field and Description |
---|---|
DbDictionary |
dbDictionary |
String |
driverName |
String |
jndiDataSourceName |
int |
maxActive |
int |
maxIdle |
int |
maxPSActive |
int |
maxWait |
String |
password |
String |
url |
String |
username |
Constructor and Description |
---|
ConnectionParameters() |
@Parameter(name="dataSource") public String jndiDataSourceName
@Parameter(name="driverClassName") public String driverName
public String url
public String username
public String password
@Parameter(defaultValue="5") public int maxActive
@Parameter(defaultValue="3") public int maxIdle
@Parameter(defaultValue="5000") public int maxWait
@Parameter(name="maxStatementActive", defaultValue="-1") public int maxPSActive
public DbDictionary dbDictionary
public void setDataSourceName(String jndiDataSourceName)
public void setDbDictionary(DbDictionary dbDictionary)