public class ConnectionPoolConfigImpl extends java.lang.Object implements ConnectionPoolConfig
Constructor and Description |
---|
ConnectionPoolConfigImpl(HierarchicalConfiguration config,
java.lang.Long id) |
Modifier and Type | Method and Description |
---|---|
boolean |
canChangeReadOnlyFlagAfterConnectionCreation()
Some dbs, e.g.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDatasourceId() |
java.lang.String |
getDatasourceName() |
java.lang.String |
getDriver() |
java.lang.Long |
getId() |
java.util.Properties |
getJdbcProperties() |
java.lang.String |
getJdbcUrl() |
java.util.Date |
getLastUpdated() |
java.lang.String |
getPassword() |
java.util.Properties |
getProperties() |
java.lang.String |
getUsername() |
int |
hashCode() |
boolean |
isMightChange() |
boolean |
isPoolable() |
void |
setCanChangeReadOnlyFlagAfterConnectionCreation(boolean canChangeReadOnly) |
void |
setDatasourceId(java.lang.Long datasourceId) |
void |
setDatasourceName(java.lang.String datasourceName) |
void |
setDriver(java.lang.String driver) |
void |
setJdbcProperties(java.util.Properties jdbcProperties) |
void |
setJdbcUrl(java.lang.String jdbcUrl) |
void |
setLastUpdated(java.util.Date lastUpdated) |
void |
setMightChange(boolean mightChange) |
void |
setPassword(java.lang.String password) |
void |
setPoolable(boolean poolable) |
void |
setProperty(java.lang.String key,
int i) |
void |
setProperty(java.lang.String key,
java.lang.String value) |
void |
setUsername(java.lang.String username) |
public java.lang.Long getId()
public java.lang.String getDriver()
getDriver
in interface ConnectionPoolConfig
public void setDriver(java.lang.String driver)
public java.lang.String getUsername()
getUsername
in interface ConnectionPoolConfig
public void setUsername(java.lang.String username)
public java.lang.String getPassword()
getPassword
in interface ConnectionPoolConfig
public void setPassword(java.lang.String password)
public java.lang.String getJdbcUrl()
getJdbcUrl
in interface ConnectionPoolConfig
public void setJdbcUrl(java.lang.String jdbcUrl)
public void setMightChange(boolean mightChange)
public boolean isMightChange()
isMightChange
in interface ConnectionPoolConfig
public void setPoolable(boolean poolable)
public boolean isPoolable()
isPoolable
in interface ConnectionPoolConfig
public java.util.Date getLastUpdated()
getLastUpdated
in interface ConnectionPoolConfig
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public void setLastUpdated(java.util.Date lastUpdated)
public java.util.Properties getProperties()
getProperties
in interface ConnectionPoolConfig
public void setProperty(java.lang.String key, int i)
public void setProperty(java.lang.String key, java.lang.String value)
public void setJdbcProperties(java.util.Properties jdbcProperties)
public java.util.Properties getJdbcProperties()
getJdbcProperties
in interface ConnectionPoolConfig
public java.lang.Long getDatasourceId()
getDatasourceId
in interface ConnectionPoolConfig
public void setDatasourceId(java.lang.Long datasourceId)
public java.lang.String getDatasourceName()
getDatasourceName
in interface ConnectionPoolConfig
public void setDatasourceName(java.lang.String datasourceName)
public void setCanChangeReadOnlyFlagAfterConnectionCreation(boolean canChangeReadOnly)
public boolean canChangeReadOnlyFlagAfterConnectionCreation()
ConnectionPoolConfig
canChangeReadOnlyFlagAfterConnectionCreation
in interface ConnectionPoolConfig