public class TenantDataSource extends Object implements DataSource
コンストラクタと説明 |
---|
TenantDataSource() |
修飾子とタイプ | メソッドと説明 |
---|---|
protected DataSource |
findTenantDataSource() |
Connection |
getConnection() |
Connection |
getConnection(String username,
String password) |
int |
getLoginTimeout() |
PrintWriter |
getLogWriter() |
Logger |
getParentLogger() |
boolean |
isWrapperFor(Class<?> iface) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(PrintWriter out) |
<T> T |
unwrap(Class<T> iface) |
public PrintWriter getLogWriter() throws SQLException
getLogWriter
インタフェース内 CommonDataSource
SQLException
public void setLogWriter(PrintWriter out) throws SQLException
setLogWriter
インタフェース内 CommonDataSource
SQLException
public void setLoginTimeout(int seconds) throws SQLException
setLoginTimeout
インタフェース内 CommonDataSource
SQLException
public int getLoginTimeout() throws SQLException
getLoginTimeout
インタフェース内 CommonDataSource
SQLException
public <T> T unwrap(Class<T> iface) throws SQLException
unwrap
インタフェース内 Wrapper
SQLException
public boolean isWrapperFor(Class<?> iface) throws SQLException
isWrapperFor
インタフェース内 Wrapper
SQLException
public Connection getConnection() throws SQLException
getConnection
インタフェース内 DataSource
SQLException
public Connection getConnection(String username, String password) throws SQLException
getConnection
インタフェース内 DataSource
SQLException
protected DataSource findTenantDataSource() throws DatabaseException
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
インタフェース内 CommonDataSource
SQLFeatureNotSupportedException
Copyright © 2012 NTT DATA INTRAMART CORPORATION