Package org.ldaptive.props
Class SearchConnectionValidatorPropertySource
java.lang.Object
org.ldaptive.props.AbstractPropertySource<SearchConnectionValidator>
org.ldaptive.props.SearchConnectionValidatorPropertySource
- All Implemented Interfaces:
PropertySource<SearchConnectionValidator>
public final class SearchConnectionValidatorPropertySource
extends AbstractPropertySource<SearchConnectionValidator>
Reads properties specific to
SearchConnectionValidator
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 SimplePropertyInvoker
Invoker for search connection validator.Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new search connection validator property source using the default properties file.SearchConnectionValidatorPropertySource
(SearchConnectionValidator cv, Reader... readers) Creates a new search connection validator property source.Creates a new search connection validator property source.Creates a new search connection validator property source.SearchConnectionValidatorPropertySource
(SearchConnectionValidator cv, PropertySource.PropertyDomain domain, Properties props) Creates a new search connection validator 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 connection validator.
-
-
Constructor Details
-
SearchConnectionValidatorPropertySource
Creates a new search connection validator property source using the default properties file.- Parameters:
cv
- connection validator to invoke properties on
-
SearchConnectionValidatorPropertySource
Creates a new search connection validator property source.- Parameters:
cv
- connection validator to invoke properties onpaths
- to read properties from
-
SearchConnectionValidatorPropertySource
Creates a new search connection validator property source.- Parameters:
cv
- connection validator to invoke properties onreaders
- to read properties from
-
SearchConnectionValidatorPropertySource
Creates a new search connection validator property source.- Parameters:
cv
- connection validator to invoke properties onprops
- to read properties from
-
SearchConnectionValidatorPropertySource
public SearchConnectionValidatorPropertySource(SearchConnectionValidator cv, PropertySource.PropertyDomain domain, Properties props) Creates a new search connection validator property source.- Parameters:
cv
- connection validator 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
-