public final class AuthenticatorPropertySource extends AbstractPropertySource<Authenticator>
Authenticator
and returns an initialized object of that type.PropertySource.PropertyDomain
Modifier and Type | Field and Description |
---|---|
private static AuthenticatorPropertyInvoker |
INVOKER
Invoker for authenticator.
|
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
Constructor and Description |
---|
AuthenticatorPropertySource(Authenticator a)
Creates a new authenticator property source using the default properties file.
|
AuthenticatorPropertySource(Authenticator a,
Properties props)
Creates a new authenticator property source.
|
AuthenticatorPropertySource(Authenticator a,
PropertySource.PropertyDomain domain,
Properties props)
Creates a new authenticator property source.
|
AuthenticatorPropertySource(Authenticator a,
Reader... readers)
Creates a new authenticator property source.
|
AuthenticatorPropertySource(Authenticator a,
String... paths)
Creates a new authenticator property source.
|
Modifier and Type | Method and Description |
---|---|
static Set<String> |
getProperties()
Returns the property names for this property source.
|
private void |
initConnectionFactoryManager(ConnectionFactoryManager cfm)
Initializes the supplied connection factory manager using the properties in this property source.
|
void |
initialize()
Initializes the object for this property source.
|
private void |
initPooledConnectionFactoryManager(PooledConnectionFactoryManager cfm)
Initializes the supplied connection factory manager using the properties in this property source.
|
initializeObject, loadProperties, loadProperties
private static final AuthenticatorPropertyInvoker INVOKER
public AuthenticatorPropertySource(Authenticator a)
a
- authenticator to set properties onpublic AuthenticatorPropertySource(Authenticator a, String... paths)
a
- authenticator to set properties onpaths
- to read properties frompublic AuthenticatorPropertySource(Authenticator a, Reader... readers)
a
- authenticator to set properties onreaders
- to read properties frompublic AuthenticatorPropertySource(Authenticator a, Properties props)
a
- authenticator to set properties onprops
- to read properties frompublic AuthenticatorPropertySource(Authenticator a, PropertySource.PropertyDomain domain, Properties props)
a
- authenticator to set properties ondomain
- that properties are inprops
- to read properties frompublic void initialize()
PropertySource
private void initConnectionFactoryManager(ConnectionFactoryManager cfm)
cfm
- to initializeprivate void initPooledConnectionFactoryManager(PooledConnectionFactoryManager cfm)
cfm
- to initializeCopyright © 2003-2019 Virginia Tech. All Rights Reserved.