Package org.ldaptive.props
Class SslConfigPropertySource
- java.lang.Object
-
- org.ldaptive.props.AbstractPropertySource<SslConfig>
-
- org.ldaptive.props.SslConfigPropertySource
-
- All Implemented Interfaces:
PropertySource<SslConfig>
public final class SslConfigPropertySource extends AbstractPropertySource<SslConfig>
Reads properties specific toSslConfig
and returns an initialized object of that type.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
PropertySource.PropertyDomain
-
-
Field Summary
Fields Modifier and Type Field Description private static SslConfigPropertyInvoker
INVOKER
Invoker for ssl config.-
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
-
-
Constructor Summary
Constructors Constructor Description SslConfigPropertySource(SslConfig config)
Creates a new ssl config property source using the default properties file.SslConfigPropertySource(SslConfig config, Reader... readers)
Creates a new ssl config property source.SslConfigPropertySource(SslConfig config, String... paths)
Creates a new ssl config property source.SslConfigPropertySource(SslConfig config, Properties props)
Creates a new ssl config property source.SslConfigPropertySource(SslConfig config, PropertySource.PropertyDomain domain, Properties props)
Creates a new ssl config property source.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Set<String>
getProperties()
Returns the property names for this property source.void
initialize()
Initializes the object for this property source.-
Methods inherited from class org.ldaptive.props.AbstractPropertySource
initializeObject, loadProperties, loadProperties
-
-
-
-
Field Detail
-
INVOKER
private static final SslConfigPropertyInvoker INVOKER
Invoker for ssl config.
-
-
Constructor Detail
-
SslConfigPropertySource
public SslConfigPropertySource(SslConfig config)
Creates a new ssl config property source using the default properties file.- Parameters:
config
- ssl config to invoke properties on
-
SslConfigPropertySource
public SslConfigPropertySource(SslConfig config, String... paths)
Creates a new ssl config property source.- Parameters:
config
- ssl config to invoke properties onpaths
- to read properties from
-
SslConfigPropertySource
public SslConfigPropertySource(SslConfig config, Reader... readers)
Creates a new ssl config property source.- Parameters:
config
- ssl config to invoke properties onreaders
- to read properties from
-
SslConfigPropertySource
public SslConfigPropertySource(SslConfig config, Properties props)
Creates a new ssl config property source.- Parameters:
config
- ssl config to invoke properties onprops
- to read properties from
-
SslConfigPropertySource
public SslConfigPropertySource(SslConfig config, PropertySource.PropertyDomain domain, Properties props)
Creates a new ssl config property source.- Parameters:
config
- ssl config to invoke properties ondomain
- that properties are inprops
- to read properties from
-
-
Method Detail
-
initialize
public void initialize()
Description copied from interface:PropertySource
Initializes the object for this property source.
-
-