|
Log4j 1.3alpha-6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.log4j.spi.ComponentBase | +--org.apache.log4j.db.ConnectionSourceSkeleton
Field Summary | |
protected int |
dialectCode
|
protected java.lang.String |
password
|
protected boolean |
supportsBatchUpdates
|
protected boolean |
supportsGetGeneratedKeys
|
protected java.lang.String |
user
|
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. |
java.lang.String |
getPassword()
Get the password for this connection source. |
int |
getSQLDialectCode()
Get the SQL dialect that should be used for this connection. |
java.lang.String |
getUser()
Get the user for this connection source. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setUser(java.lang.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, 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 |
Field Detail |
protected java.lang.String user
protected java.lang.String password
protected int dialectCode
protected boolean supportsGetGeneratedKeys
protected boolean supportsBatchUpdates
Constructor Detail |
public ConnectionSourceSkeleton()
Method Detail |
public void discoverConnnectionProperties()
public boolean supportsGetGeneratedKeys()
supportsGetGeneratedKeys
in interface ConnectionSource
public int getSQLDialectCode()
ConnectionSource
getSQLDialectCode
in interface ConnectionSource
public java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The password to setpublic java.lang.String getUser()
public void setUser(java.lang.String username)
username
- The username to setpublic boolean supportsBatchUpdates()
supportsBatchUpdates
in interface ConnectionSource
|
Log4j 1.3alpha-6 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |