protected static DatabaseConfigService makeDatabaseRefService(ConfigurationInformation configSnapshot,SchedulingService schedulingService,SchedulingMgmtService schedulingMgmtService){
  DatabaseConfigService databaseConfigService;
  try {
    ScheduleBucket allStatementsBucket=schedulingMgmtService.allocateBucket();
    databaseConfigService=new DatabaseConfigServiceImpl(configSnapshot.getDatabaseReferences(),schedulingService,allStatementsBucket);
  }
 catch (  IllegalArgumentException ex) {
    throw new ConfigurationException("Error configuring engine: " + ex.getMessage(),ex);
  }
  return databaseConfigService;
}

protected static DatabaseConfigService makeDatabaseRefService ( ConfigurationInformation configSnapshot , SchedulingService schedulingService , SchedulingMgmtService schedulingMgmtService ) { DatabaseConfigService databaseConfigService ; try { ScheduleBucket allStatementsBucket = schedulingMgmtService . allocateBucket ( ) ; databaseConfigService = new DatabaseConfigServiceImpl ( configSnapshot . getDatabaseReferences ( ) , schedulingService , allStatementsBucket ) ; } catch ( IllegalArgumentException ex ) { throw new ConfigurationException ( "Error configuring engine: " + ex . getMessage ( ) , ex ) ; } return databaseConfigService ; }
creates the database config service .
