public abstract class SynchronizedFilterDataSource extends Object implements DataSource
Modifier and Type | Field and Description |
---|---|
protected DataSource |
inner |
Constructor and Description |
---|
SynchronizedFilterDataSource() |
SynchronizedFilterDataSource(DataSource inner) |
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection() |
Connection |
getConnection(String a,
String b) |
DataSource |
getInner() |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
boolean |
isWrapperFor(Class a) |
void |
setInner(DataSource inner) |
void |
setLoginTimeout(int a) |
void |
setLogWriter(PrintWriter a) |
Object |
unwrap(Class a) |
protected DataSource inner
public SynchronizedFilterDataSource(DataSource inner)
public SynchronizedFilterDataSource()
public void setInner(DataSource inner)
public DataSource getInner()
public Connection getConnection() throws SQLException
getConnection
in interface DataSource
SQLException
public Connection getConnection(String a, String b) throws SQLException
getConnection
in interface DataSource
SQLException
public PrintWriter getLogWriter() throws SQLException
getLogWriter
in interface CommonDataSource
SQLException
public int getLoginTimeout() throws SQLException
getLoginTimeout
in interface CommonDataSource
SQLException
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface CommonDataSource
SQLFeatureNotSupportedException
public void setLogWriter(PrintWriter a) throws SQLException
setLogWriter
in interface CommonDataSource
SQLException
public void setLoginTimeout(int a) throws SQLException
setLoginTimeout
in interface CommonDataSource
SQLException
public boolean isWrapperFor(Class a) throws SQLException
isWrapperFor
in interface Wrapper
SQLException
public Object unwrap(Class a) throws SQLException
unwrap
in interface Wrapper
SQLException
Copyright © 2017 com.mchange. All rights reserved.