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