public final class SearchRequestPropertySource extends AbstractPropertySource<SearchRequest>
SearchRequest
and returns an initialized object of that type.PropertySource.PropertyDomain
Modifier and Type | Field and Description |
---|---|
private static SearchRequestPropertyInvoker |
INVOKER
Invoker for search request.
|
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
Constructor and Description |
---|
SearchRequestPropertySource(SearchRequest request)
Creates a new search request property source using the default properties file.
|
SearchRequestPropertySource(SearchRequest request,
Properties props)
Creates a new search request property source.
|
SearchRequestPropertySource(SearchRequest request,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new search request property source.
|
SearchRequestPropertySource(SearchRequest request,
Reader... readers)
Creates a new search request property source.
|
SearchRequestPropertySource(SearchRequest request,
String... paths)
Creates a new search request property source.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getProperties()
Returns the property names for this property source.
|
void |
initialize()
Initializes the object for this property source.
|
initializeObject, loadProperties, loadProperties
private static final SearchRequestPropertyInvoker INVOKER
public SearchRequestPropertySource(SearchRequest request)
request
- search request to invoke properties onpublic SearchRequestPropertySource(SearchRequest request, String... paths)
request
- search request to invoke properties onpaths
- to read properties frompublic SearchRequestPropertySource(SearchRequest request, Reader... readers)
request
- search request to invoke properties onreaders
- to read properties frompublic SearchRequestPropertySource(SearchRequest request, Properties props)
request
- search request to invoke properties onprops
- to read properties frompublic SearchRequestPropertySource(SearchRequest request, PropertySource.PropertyDomain domain, Properties props)
request
- search request to invoke properties ondomain
- that properties are inprops
- to read properties frompublic void initialize()
PropertySource
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.