org.bitrepository.service.database
Class DatabaseCreator
java.lang.Object
org.bitrepository.service.database.DatabaseMaintainer
org.bitrepository.service.database.DatabaseCreator
public class DatabaseCreator
- extends DatabaseMaintainer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatabaseCreator
public DatabaseCreator()
createDatabase
protected void createDatabase(DatabaseSpecifics databaseSpecifics,
String scriptName)
- Creates a database by running the supplied script.
- Parameters:
scriptName
- The name of the script including path as part of the
classpath.databaseSpecifics
- Specifies where to create the database.
loadSettings
protected Settings loadSettings(String pillarID,
String pathToSettings)
Copyright © 2010-2013 The State and University Library, The Royal Library and The State Archives, Denmark. All Rights Reserved.