WEB4J Development Tools 4.10.0.0

hirondelle.web4j.config
Class ConnectionSrc

Object
  extended by ConnectionSrc
All Implemented Interfaces:
ConnectionSource

public final class ConnectionSrc
extends Object
implements ConnectionSource

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

ConnectionSrc

public ConnectionSrc()
Method Detail

init

public void init(Map<String,String> aConfig)
This implementation is empty.

Specified by:
init in interface ConnectionSource

getDatabaseNames

public Set<String> getDatabaseNames()
Returns an empty set, to indicate to web4j that no database is used in this app.

Specified by:
getDatabaseNames in interface ConnectionSource

getConnection

public Connection getConnection()
                         throws DAOException
Returns null

Specified by:
getConnection in interface ConnectionSource
Throws:
DAOException

getConnection

public Connection getConnection(String aDatabaseName)
                         throws DAOException
Returns null.

Specified by:
getConnection in interface ConnectionSource
Throws:
DAOException

WEB4J Development Tools 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26