Package org.ldaptive.props
Class SearchRequestPropertySource
java.lang.Object
org.ldaptive.props.AbstractPropertySource<SearchRequest>
org.ldaptive.props.SearchRequestPropertySource
- All Implemented Interfaces:
PropertySource<SearchRequest>
Reads properties specific to
SearchRequest
and returns an initialized object of that type.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
PropertySource.PropertyDomain
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final SearchRequestPropertyInvoker
Invoker for search request.Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
Constructor Summary
ConstructorsConstructorDescriptionSearchRequestPropertySource
(SearchRequest request) Creates a new search request property source using the default properties file.SearchRequestPropertySource
(SearchRequest request, Reader... readers) Creates a new search request property source.SearchRequestPropertySource
(SearchRequest request, String... paths) Creates a new search request property source.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. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property names for this property source.void
Initializes the object for this property source.Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
-
Field Details
-
INVOKER
Invoker for search request.
-
-
Constructor Details
-
SearchRequestPropertySource
Creates a new search request property source using the default properties file.- Parameters:
request
- search request to invoke properties on
-
SearchRequestPropertySource
Creates a new search request property source.- Parameters:
request
- search request to invoke properties onpaths
- to read properties from
-
SearchRequestPropertySource
Creates a new search request property source.- Parameters:
request
- search request to invoke properties onreaders
- to read properties from
-
SearchRequestPropertySource
Creates a new search request property source.- Parameters:
request
- search request to invoke properties onprops
- to read properties from
-
SearchRequestPropertySource
public SearchRequestPropertySource(SearchRequest request, PropertySource.PropertyDomain domain, Properties props) Creates a new search request property source.- Parameters:
request
- search request to invoke properties ondomain
- that properties are inprops
- to read properties from
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:PropertySource
Initializes the object for this property source. -
getProperties
Returns the property names for this property source.- Returns:
- all property names
-