|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectConnectionSrc
public final class ConnectionSrc
Implementation of ConnectionSource
, required by WEB4J.
This implementation returns empty and null items.
Constructor Summary | |
---|---|
ConnectionSrc()
|
Method Summary | |
---|---|
Connection |
getConnection()
Returns null |
Connection |
getConnection(String aDatabaseName)
Returns null. |
Set<String> |
getDatabaseNames()
Returns an empty set, to indicate to web4j that no database is used in this app. |
void |
init(Map<String,String> aConfig)
This implementation is empty. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionSrc()
Method Detail |
---|
public void init(Map<String,String> aConfig)
init
in interface ConnectionSource
public Set<String> getDatabaseNames()
getDatabaseNames
in interface ConnectionSource
public Connection getConnection() throws DAOException
getConnection
in interface ConnectionSource
DAOException
public Connection getConnection(String aDatabaseName) throws DAOException
getConnection
in interface ConnectionSource
DAOException
|
WEB4J Development Tools 4.10.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |