Examples of DatabaseFactory


Examples of liquibase.database.DatabaseFactory

            public boolean equals(Object o) {
                return o == this;
            }
        };

        DatabaseFactory databaseFactory = DatabaseFactory.getInstance();
        databaseFactory.register(oracle1);
        databaseFactory.register(oracle2);
        databaseFactory.register(mysql);

        LockServiceFactory lockServiceFactory = LockServiceFactory.getInstance();

        assertNotNull(lockServiceFactory.getLockService(oracle1));
        assertNotNull(lockServiceFactory.getLockService(oracle2));
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

      System.exit(1);
    }

    // Check access to database is possible.
    try {
      new DatabaseFactory().initializeDatabase();
    } catch (DatabaseConnectionException e) {
      System.out.println("ERROR: Marauroa can't connect to database");
      System.out.println("Verify \"server.ini\" file to make sure access to database is possible.");
      System.exit(1);
    }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

   * @throws IOException
   *
   */
  @BeforeClass
  public static void setUp() throws IOException {
    new DatabaseFactory().initializeDatabase();
    PlayerEntryContainer.getContainer();
    loadRSAKey();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

  private List<RPObject> players;

  private RPServerManager rpman;

  public PingRPRuleProcessor() {
    new DatabaseFactory().initializeDatabase();
    transactionPool = TransactionPool.get();
    world = BareRPWorld.get();

    DBTransaction transaction = transactionPool.beginWork();
    try {
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

  private List<RPObject> players;

  private RPServerManager rpman;

  public BareRPRuleProcessor() {
    new DatabaseFactory().initializeDatabase();
    transactionPool = TransactionPool.get();
    world = BareRPWorld.get();

    DBTransaction transaction = transactionPool.beginWork();
    try {
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

   * @throws java.lang.Exception
   */
  @Before
  public void setUp() throws Exception {
    MockStendlRPWorld.get();
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

  private static final String TEST_ENTITY_HELPER = "test_entity_helper";
 
  @BeforeClass
  public static void setUpBeforeClass() {
    MockStendlRPWorld.get();
    new DatabaseFactory().initializeDatabase();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

   *
   * @throws Exception
   */
  @BeforeClass
  public static void buildWorld() throws Exception {
    new DatabaseFactory().initializeDatabase();
    setupZone(ZONE_NAME);
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

public class CharacterCreatorTest {

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    Log4J.init();
    new DatabaseFactory().initializeDatabase();
    PlayerTestHelper.generatePlayerRPClasses();
    ItemTestHelper.generateRPClasses();
  }
View Full Code Here

Examples of marauroa.server.game.db.DatabaseFactory

public class GhostModeActionTest {

  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    new DatabaseFactory().initializeDatabase();
    MockStendlRPWorld.get();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.