|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.spi.ComponentBase
org.apache.log4j.db.ConnectionSourceSkeleton
Field Summary |
Fields inherited from class org.apache.log4j.spi.ComponentBase |
repository |
Fields inherited from interface org.apache.log4j.db.ConnectionSource |
HSQL_DIALECT, MSSQL_DIALECT, MYSQL_DIALECT, ORACLE_DIALECT, POSTGRES_DIALECT, UNKNOWN_DIALECT |
Constructor Summary | |
ConnectionSourceSkeleton()
|
Method Summary | |
void |
discoverConnnectionProperties()
Learn relevant information about this connection source. |
String |
getPassword()
Get the password for this connection source. |
int |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection. |
String |
getUser()
Get the user for this connection source. |
void |
setPassword(String password)
Sets the password. |
void |
setUser(String username)
Sets the username. |
boolean |
supportsBatchUpdates()
Does this connection support batch updates? |
boolean |
supportsGetGeneratedKeys()
Does this connection support the JDBC Connection.getGeneratedKeys method? |
Methods inherited from class org.apache.log4j.spi.ComponentBase |
getLogger, getLoggerRepository, getNonFloodingLogger, resetErrorCount, setLoggerRepository |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.log4j.db.ConnectionSource |
getConnection |
Methods inherited from interface org.apache.log4j.spi.Component |
setLoggerRepository |
Methods inherited from interface org.apache.log4j.spi.OptionHandler |
activateOptions |
Constructor Detail |
public ConnectionSourceSkeleton()
Method Detail |
public void discoverConnnectionProperties()
public final boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys
in interface ConnectionSource
public final int getSQLDialectCode()
ConnectionSource
getSQLDialectCode
in interface ConnectionSource
public 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 ConnectionSource
|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |