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