|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.experlog.openeas.api.ConnectionManager
public class ConnectionManager
Constructor Summary | |
---|---|
ConnectionManager()
|
Method Summary | |
---|---|
static void |
addDataSource(ESDataSourceWrapper esdw)
add a datasource to the list of known datasources |
static java.sql.Connection |
getConnection(java.lang.String datasource)
return a connection when the datasource name is given |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionManager()
Method Detail |
---|
public static void addDataSource(ESDataSourceWrapper esdw)
esdw
- an ESDataSourceWrapper objectpublic static java.sql.Connection getConnection(java.lang.String datasource) throws java.sql.SQLException, java.lang.Exception
datasource
- the name of the datasource
java.sql.SQLException
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |