public class ConfigurationFactory extends Object
Configuration for the SearchService
based on an XML configuration file.
configurationName is the name of the XML configuration file
vocabulariesPath is the local folder that is the working folder for SearchService
configurationXml has the content of the XML configuration file| Constructor and Description |
|---|
ConfigurationFactory() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
createConfiguration(String id) |
org.springframework.core.io.Resource |
getConfigurationName() |
String |
getConfigurationXml() |
static Logger |
getLogger() |
String |
getVocabulariesPath() |
void |
init() |
void |
setConfigurationName(org.springframework.core.io.Resource configurationName) |
void |
setVocabulariesPath(String vocabulariesPath) |
public void init()
throws IOException,
URISyntaxException
IOExceptionURISyntaxExceptionpublic Configuration createConfiguration(String id) throws ConfigurationFactoryException
ConfigurationFactoryExceptionpublic void setConfigurationName(org.springframework.core.io.Resource configurationName)
public void setVocabulariesPath(String vocabulariesPath)
public org.springframework.core.io.Resource getConfigurationName()
public String getVocabulariesPath()
public String getConfigurationXml()
public static Logger getLogger()
Copyright © 2020. All rights reserved.