database = openDatabase(getDatabaseFile());
if(database == null)
return false;
opened = true;
eventManager.fireEvent(new WorkspaceOpenEvent(this));
backgroundCommitTask = createBackgroundCommitTask(database);
backgroundCommitTimer.scheduleAtFixedRate(backgroundCommitTask, 0, BACKGROUND_COMMIT_INTERVAL);
return true;
}