DataSource Methods
|
Version Introduced
|
Supported
|
Comments
|
Connection getConnection()
|
2.0 Optional
|
Yes
|
|
Connection getConnection(String, String)
|
2.0 Optional
|
Yes
|
|
int getLoginTimeout()
|
2.0 Optional
|
Yes
|
|
PrintWriter getLogWriter()
|
2.0 Optional
|
Yes
|
|
boolean isWrapperFor(Class<?> iface)
|
4.0
|
Yes
|
|
void setLoginTimeout(int)
|
2.0 Optional
|
Yes
|
|
void setLogWriter(PrintWriter)
|
2.0 Optional
|
Yes
|
|
<T> T unwrap(Class<T> iface)
|
4.0
|
Yes
|
|
Note: The DataSource interface implements the javax.naming.Referenceable and java.io.Serializable interfaces.
|