Package org.ldaptive.props
Class SearchEntryResolverPropertySource
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertySource<T>
-
- org.ldaptive.props.AbstractConnectionFactoryManagerPropertySource<SearchEntryResolver>
-
- org.ldaptive.props.SearchEntryResolverPropertySource
-
- All Implemented Interfaces:
PropertySource<SearchEntryResolver>
public final class SearchEntryResolverPropertySource extends AbstractConnectionFactoryManagerPropertySource<SearchEntryResolver>
Reads properties specific toSearchEntryResolver
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 SearchOperationFactoryPropertyInvoker
INVOKER
Invoker for search entry resolver.-
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
-
Constructor Summary
Constructors Constructor Description SearchEntryResolverPropertySource(SearchEntryResolver resolver)
Creates a new search entry resolver property source using the default properties file.SearchEntryResolverPropertySource(SearchEntryResolver resolver, Reader... readers)
Creates a new search entry resolver property source.SearchEntryResolverPropertySource(SearchEntryResolver resolver, String... paths)
Creates a new search entry resolver property source.SearchEntryResolverPropertySource(SearchEntryResolver resolver, Properties props)
Creates a new search entry resolver property source.SearchEntryResolverPropertySource(SearchEntryResolver resolver, PropertySource.PropertyDomain domain, Properties props)
Creates a new search entry resolver 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 SearchOperationFactoryPropertyInvoker INVOKER
Invoker for search entry resolver.
-
-
Constructor Detail
-
SearchEntryResolverPropertySource
public SearchEntryResolverPropertySource(SearchEntryResolver resolver)
Creates a new search entry resolver property source using the default properties file.- Parameters:
resolver
- search entry resolver to invoke properties on
-
SearchEntryResolverPropertySource
public SearchEntryResolverPropertySource(SearchEntryResolver resolver, String... paths)
Creates a new search entry resolver property source.- Parameters:
resolver
- search entry resolver to invoke properties onpaths
- to read properties from
-
SearchEntryResolverPropertySource
public SearchEntryResolverPropertySource(SearchEntryResolver resolver, Reader... readers)
Creates a new search entry resolver property source.- Parameters:
resolver
- search entry resolver to invoke properties onreaders
- to read properties from
-
SearchEntryResolverPropertySource
public SearchEntryResolverPropertySource(SearchEntryResolver resolver, Properties props)
Creates a new search entry resolver property source.- Parameters:
resolver
- search entry resolver to invoke properties onprops
- to read properties from
-
SearchEntryResolverPropertySource
public SearchEntryResolverPropertySource(SearchEntryResolver resolver, PropertySource.PropertyDomain domain, Properties props)
Creates a new search entry resolver property source.- Parameters:
resolver
- search entry resolver 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.- Specified by:
initialize
in interfacePropertySource<SearchEntryResolver>
- Overrides:
initialize
in classAbstractConnectionFactoryManagerPropertySource<SearchEntryResolver>
-
-