lecturequiz.server.main
Class DBManager

java.lang.Object
  extended by lecturequiz.server.main.DBManager

public class DBManager
extends java.lang.Object

Very simple DB manager to give us an instance of a database backend.


Method Summary
static DBInterface getInstance()
          Returns an instance of a class implementing DBInterface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static DBInterface getInstance()
Returns an instance of a class implementing DBInterface. A new connection is made for each call.

Returns:
DBManager instance.