|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.db.ConnectionSourceBase
public abstract class ConnectionSourceBase
| Field Summary |
|---|
| Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
context |
| Constructor Summary | |
|---|---|
ConnectionSourceBase()
|
|
| Method Summary | |
|---|---|
void |
discoverConnectionProperties()
Learn relevant information about this connection source. |
String |
getPassword()
Get the password for this connection source. |
SQLDialectCode |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection. |
String |
getUser()
Get the user for this connection source. |
boolean |
isStarted()
|
void |
setPassword(String password)
Sets the password. |
void |
setUser(String username)
Sets the username. |
void |
start()
|
void |
stop()
|
boolean |
supportsBatchUpdates()
Does this connection support batch updates? |
boolean |
supportsGetGeneratedKeys()
Does this connection support the JDBC Connection.getGeneratedKeys method? |
| Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase |
|---|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface ch.qos.logback.core.db.ConnectionSource |
|---|
getConnection |
| Constructor Detail |
|---|
public ConnectionSourceBase()
| Method Detail |
|---|
public void discoverConnectionProperties()
public final boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys in interface ConnectionSourcepublic final SQLDialectCode getSQLDialectCode()
ConnectionSource
getSQLDialectCode in interface ConnectionSourcepublic final String getPassword()
public final void setPassword(String password)
password - The password to setpublic final String getUser()
public final void setUser(String username)
username - The username to setpublic final boolean supportsBatchUpdates()
supportsBatchUpdates in interface ConnectionSourcepublic boolean isStarted()
isStarted in interface LifeCyclepublic void start()
start in interface LifeCyclepublic void stop()
stop in interface LifeCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||