public interface SearchEngineConfigurationLoader extends SearchConfigurationLoader
SearchConfigurationLoader
for the SearchEngineConfiguration
.Modifier and Type | Method and Description |
---|---|
SearchEngineConfigurationHolder |
loadConfiguration()
This method reads the configuration from
SearchConfiguration.DEFAULT_CONFIGURATION_URL . |
SearchEngineConfigurationHolder |
loadConfiguration(String locationUrl)
This method reads the configuration from the given
location . |
SearchEngineConfigurationHolder loadConfiguration()
SearchConfiguration.DEFAULT_CONFIGURATION_URL
.loadConfiguration
in interface SearchConfigurationLoader
JaxbBeanHolder
.SearchEngineConfigurationHolder loadConfiguration(String locationUrl)
location
. The configuration data is
parsed according to its format (typically XML) and returned as JaxbBeanHolder
.loadConfiguration
in interface SearchConfigurationLoader
locationUrl
- is the location where the SearchConfiguration
data shall be read from. This is
typically a path into the filesystem (e.g. "file://~/.mmm/search.xml"). Please note that "file://"
can be omitted.JaxbBeanHolder
.Copyright © 2001–2016 mmm-Team. All rights reserved.