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