Package org.ldaptive.props
Class BlockingConnectionPoolPropertySource
java.lang.Object
org.ldaptive.props.AbstractPropertySource<BlockingConnectionPool>
org.ldaptive.props.BlockingConnectionPoolPropertySource
- All Implemented Interfaces:
PropertySource<BlockingConnectionPool>
public final class BlockingConnectionPoolPropertySource
extends AbstractPropertySource<BlockingConnectionPool>
Reads properties specific to
BlockingConnectionPool 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 BlockingConnectionPoolPropertyInvokerInvoker for connection factory.Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new blocking connection pool property source using the default properties file.BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, Reader... readers) Creates a new blocking connection pool property source.BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, String... paths) Creates a new blocking connection pool property source.Creates a new blocking connection pool property source.BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, PropertySource.PropertyDomain domain, Properties props) Creates a new blocking connection pool property source. -
Method Summary
Modifier and TypeMethodDescriptionReturns the property names for this property source.voidInitializes 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
-
BlockingConnectionPoolPropertySource
Creates a new blocking connection pool property source using the default properties file.- Parameters:
cp- connection pool to invoke properties on
-
BlockingConnectionPoolPropertySource
Creates a new blocking connection pool property source.- Parameters:
cp- connection pool to invoke properties onpaths- to read properties from
-
BlockingConnectionPoolPropertySource
Creates a new blocking connection pool property source.- Parameters:
cp- connection pool to invoke properties onreaders- to read properties from
-
BlockingConnectionPoolPropertySource
Creates a new blocking connection pool property source.- Parameters:
cp- connection pool to invoke properties onprops- to read properties from
-
BlockingConnectionPoolPropertySource
public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, PropertySource.PropertyDomain domain, Properties props) Creates a new blocking connection pool property source.- Parameters:
cp- connection pool to invoke properties ondomain- that properties are inprops- to read properties from
-
-
Method Details
-
initialize
public void initialize()Description copied from interface:PropertySourceInitializes the object for this property source. -
getProperties
Returns the property names for this property source.- Returns:
- all property names
-