|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.jdbc.datasource.AbstractDataSource
public abstract class AbstractDataSource
Abstract base class for Spring's DataSource
implementations, taking care of the padding.
DriverManagerDataSource
Field Summary | |
---|---|
protected Log |
logger
Logger available to subclasses |
Constructor Summary | |
---|---|
AbstractDataSource()
|
Method Summary | |
---|---|
int |
getLoginTimeout()
Returns 0, indicating to use the default system timeout. |
PrintWriter |
getLogWriter()
LogWriter methods are not supported. |
boolean |
isWrapperFor(Class iface)
|
void |
setLoginTimeout(int timeout)
Setting a login timeout is not supported. |
void |
setLogWriter(PrintWriter pw)
LogWriter methods are not supported. |
Object |
unwrap(Class iface)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.sql.DataSource |
---|
getConnection, getConnection |
Field Detail |
---|
protected final Log logger
Constructor Detail |
---|
public AbstractDataSource()
Method Detail |
---|
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
public void setLoginTimeout(int timeout) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
public PrintWriter getLogWriter()
getLogWriter
in interface CommonDataSource
public void setLogWriter(PrintWriter pw) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
public Object unwrap(Class iface) throws SQLException
SQLException
public boolean isWrapperFor(Class iface) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |