Class DatabaseFactory

java.lang.Object
marauroa.server.game.db.DatabaseFactory

public class DatabaseFactory extends Object
Utility class for choosing the right player database.
  • Constructor Details

    • DatabaseFactory

      public DatabaseFactory()
  • Method Details

    • initializeTestDatabase

      public void initializeTestDatabase()
      initializes the database system for tests
    • initializeDatabase

      public void initializeDatabase() throws DatabaseConnectionException
      initializes the database system
      Throws:
      DatabaseConnectionException - in case the database configuration is broken