use of edu.mit.simile.backstage.model.data.StandaloneDiskHostedDatabase in project backstage by zepheira.
the class BackstageModule method getStandaloneDatabase.
public Database getStandaloneDatabase() {
if (s_standaloneDatabase == null) {
ExtendedProperties properties = getProperties();
String databaseString = properties.getString("backstage.hostedData.database");
File database = (databaseString == null || databaseString.length() == 0) ? new File("database") : new File(databaseString);
s_standaloneDatabase = new StandaloneDiskHostedDatabase(database);
}
return s_standaloneDatabase;
}
Aggregations