public interface SearchConfigurationLoader
reading
the
SearchConfiguration
for a given data location. The implementation shall at least support reading
the configuration from the filesystem as XML.Modifier and Type | Method and Description |
---|---|
JaxbBeanHolder<? extends SearchConfiguration> |
loadConfiguration()
This method reads the configuration from
SearchConfiguration.DEFAULT_CONFIGURATION_URL . |
JaxbBeanHolder<? extends SearchConfiguration> |
loadConfiguration(String locationUrl)
This method reads the configuration from the given
location . |
JaxbBeanHolder<? extends SearchConfiguration> loadConfiguration()
SearchConfiguration.DEFAULT_CONFIGURATION_URL
.JaxbBeanHolder
.JaxbBeanHolder<? extends SearchConfiguration> loadConfiguration(String locationUrl)
location
. The configuration data is
parsed according to its format (typically XML) and returned as JaxbBeanHolder
.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.