Package marauroa.server.game.db
Class DatabaseFactory
java.lang.Object
marauroa.server.game.db.DatabaseFactory
Utility class for choosing the right player database.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initializes the database systemvoid
initializes the database system for tests
-
Constructor Details
-
DatabaseFactory
public DatabaseFactory()
-
-
Method Details
-
initializeTestDatabase
public void initializeTestDatabase()initializes the database system for tests -
initializeDatabase
initializes the database system- Throws:
DatabaseConnectionException
- in case the database configuration is broken
-