public class PersistentExistDatabase extends ExistDatabase
COLLECTION_XCONF| Constructor and Description |
|---|
PersistentExistDatabase() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createPersistentDatabase()
create a temporary directory and copy the default configuration file.
|
protected void |
enableJava(File conf,
boolean enabled) |
eu.dnetlib.enabling.is.store.BulkResourceImporter |
getBulkImporter() |
String |
getConfigTemplate() |
File |
getDbDirectory() |
String |
getDbRootPath() |
File |
getExistConfigFile() |
boolean |
isXQueryJavaEnabled() |
protected String |
patchConfigFileEnableJava(String conf,
boolean enabled) |
void |
setBulkImporter(eu.dnetlib.enabling.is.store.BulkResourceImporter bulkImporter) |
void |
setConfigTemplate(String configTemplate) |
void |
setDbDirectory(File dbDirectory) |
void |
setDbRootPath(String dbRootPath) |
void |
setExistConfigFile(File existConfigFile) |
void |
setXQueryJavaEnabled(boolean xQueryJavaEnabled) |
void |
start() |
void |
stop() |
backup, collectionExists, create, createCollection, getBackupDir, getCollection, getColman, getConfigFile, getDatabase, getManager, getQueryService, getRoot, getRootCollection, getTriggerConf, isRunning, list, listChildCollections, read, registerTrigger, remove, removeCollection, setBackupDir, setColman, setConfigFile, setDatabase, setManager, setQueryService, setRoot, setTriggerConf, update, xquery, xupdatepublic void start()
start in interface org.springframework.context.Lifecyclestart in class ExistDatabaseExistDatabase.start()public void stop()
ExistDatabasestop in interface org.springframework.context.Lifecyclestop in class ExistDatabaseLifecycle.stop()protected void enableJava(File conf, boolean enabled)
protected String patchConfigFileEnableJava(String conf, boolean enabled)
conf - content of the configuration fileenabled - enabled or disabledprotected void createPersistentDatabase()
public File getDbDirectory()
public void setDbDirectory(File dbDirectory)
public String getConfigTemplate()
public void setConfigTemplate(String configTemplate)
public eu.dnetlib.enabling.is.store.BulkResourceImporter getBulkImporter()
public void setBulkImporter(eu.dnetlib.enabling.is.store.BulkResourceImporter bulkImporter)
public File getExistConfigFile()
public void setExistConfigFile(File existConfigFile)
public String getDbRootPath()
public void setDbRootPath(String dbRootPath)
public boolean isXQueryJavaEnabled()
public void setXQueryJavaEnabled(boolean xQueryJavaEnabled)
Copyright © 2026. All rights reserved.