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