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