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 toSearchConnectionValidator
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
Fields Modifier and Type Field Description private static SimplePropertyInvoker
INVOKER
Invoker for search connection validator.-
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
-
Constructor Summary
Constructors Constructor Description SearchConnectionValidatorPropertySource(SearchConnectionValidator cv)
Creates 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.SearchConnectionValidatorPropertySource(SearchConnectionValidator cv, String... paths)
Creates a new search connection validator property source.SearchConnectionValidatorPropertySource(SearchConnectionValidator cv, Properties props)
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>
getProperties()
Returns the property names for this property source.void
initialize()
Initializes the object for this property source.-
Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
-
-
-
-
Field Detail
-
INVOKER
private static final SimplePropertyInvoker INVOKER
Invoker for search connection validator.
-
-
Constructor Detail
-
SearchConnectionValidatorPropertySource
public SearchConnectionValidatorPropertySource(SearchConnectionValidator cv)
Creates a new search connection validator property source using the default properties file.- Parameters:
cv
- connection validator to invoke properties on
-
SearchConnectionValidatorPropertySource
public SearchConnectionValidatorPropertySource(SearchConnectionValidator cv, String... paths)
Creates a new search connection validator property source.- Parameters:
cv
- connection validator to invoke properties onpaths
- to read properties from
-
SearchConnectionValidatorPropertySource
public SearchConnectionValidatorPropertySource(SearchConnectionValidator cv, Reader... readers)
Creates a new search connection validator property source.- Parameters:
cv
- connection validator to invoke properties onreaders
- to read properties from
-
SearchConnectionValidatorPropertySource
public SearchConnectionValidatorPropertySource(SearchConnectionValidator cv, Properties props)
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 Detail
-
initialize
public void initialize()
Description copied from interface:PropertySource
Initializes the object for this property source.
-
-