public final class BlockingConnectionPoolPropertySource extends AbstractPropertySource<BlockingConnectionPool>
BlockingConnectionPool
and returns an initialized object of that type.PropertySource.PropertyDomain
Modifier and Type | Field and Description |
---|---|
private static BlockingConnectionPoolPropertyInvoker |
INVOKER
Invoker for connection factory.
|
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
Constructor and Description |
---|
BlockingConnectionPoolPropertySource(BlockingConnectionPool cp)
Creates a new blocking connection pool property source using the default properties file.
|
BlockingConnectionPoolPropertySource(BlockingConnectionPool cp,
Properties props)
Creates a new blocking connection pool property source.
|
BlockingConnectionPoolPropertySource(BlockingConnectionPool cp,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new blocking connection pool property source.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getProperties()
Returns the property names for this property source.
|
void |
initialize()
Initializes the object for this property source.
|
initializeObject, loadProperties, loadProperties
private static final BlockingConnectionPoolPropertyInvoker INVOKER
public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp)
cp
- connection pool to invoke properties onpublic BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, String... paths)
cp
- connection pool to invoke properties onpaths
- to read properties frompublic BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, Reader... readers)
cp
- connection pool to invoke properties onreaders
- to read properties frompublic BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, Properties props)
cp
- connection pool to invoke properties onprops
- to read properties frompublic BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, PropertySource.PropertyDomain domain, Properties props)
cp
- connection pool to invoke properties ondomain
- that properties are inprops
- to read properties frompublic void initialize()
PropertySource
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.