org.seasar.tuigwaa.database
インタフェース MultiDataSource

既知の実装クラスの一覧:
MultiDataSourceImpl

public interface MultiDataSource


メソッドの概要
 void addDataSource(String dbName, DataSource dataSource)
           
 Connection getBaseConnection()
           
 Connection getConnection(String key)
           
 DynaBatchHandler getDynaBatchHandler(String dbName)
           
 DynaSelectHandler getDynaSelectHandler(String dbName)
           
 String[] getExternalDatabaseNames()
           
 boolean isExistDatabase(String dbName)
           
 void removeDataSource(String dbName)
           
 

メソッドの詳細

getBaseConnection

public Connection getBaseConnection()

getConnection

public Connection getConnection(String key)
                         throws SQLException
例外:
SQLException

getExternalDatabaseNames

public String[] getExternalDatabaseNames()

addDataSource

public void addDataSource(String dbName,
                          DataSource dataSource)

removeDataSource

public void removeDataSource(String dbName)

isExistDatabase

public boolean isExistDatabase(String dbName)

getDynaBatchHandler

public DynaBatchHandler getDynaBatchHandler(String dbName)

getDynaSelectHandler

public DynaSelectHandler getDynaSelectHandler(String dbName)


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.