1718192021222324
dataSource = ConnectionPool.setupDataSource(connectURI); } private void configure() { configuration = new DBConf(); ConfFileParser confFileParser = new ConfFileParser("conf/db.conf"); configuration.setConfRecords(confFileParser.parse()); }
228229230231232233234235
/* * Configure the game server by reading from file conf/gameServer.conf. */ private void configure() { ConfFileParser confFileParser = new ConfFileParser("conf/gameServer.conf"); configuration.setConfRecords(confFileParser.parse()); }