org.ldaptive.props
Class DefaultConnectionFactoryPropertySource

java.lang.Object
  extended by org.ldaptive.props.AbstractPropertySource<DefaultConnectionFactory>
      extended by org.ldaptive.props.DefaultConnectionFactoryPropertySource
All Implemented Interfaces:
PropertySource<DefaultConnectionFactory>

public final class DefaultConnectionFactoryPropertySource
extends AbstractPropertySource<DefaultConnectionFactory>

Reads properties specific to DefaultConnectionFactory and returns an initialized object of that type.

Version:
$Revision: 2999 $ $Date: 2014-06-11 13:29:32 -0400 (Wed, 11 Jun 2014) $
Author:
Middleware Services

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.ldaptive.props.PropertySource
PropertySource.PropertyDomain
 
Field Summary
 
Fields inherited from class org.ldaptive.props.AbstractPropertySource
extraProps, logger, object, properties, PROPERTIES_FILE, propertiesDomain
 
Constructor Summary
DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf)
          Creates a new default connection factory property source using the default properties file.
DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf, Properties props)
          Creates a new default connection factory property source.
DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf, PropertySource.PropertyDomain domain, Properties props)
          Creates a new default connection factory property source.
DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf, Reader... readers)
          Creates a new default connection factory property source.
DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf, String... paths)
          Creates a new default connection factory property source.
 
Method Summary
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultConnectionFactoryPropertySource

public DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf)
Creates a new default connection factory property source using the default properties file.

Parameters:
cf - connection factory to invoke properties on

DefaultConnectionFactoryPropertySource

public DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf,
                                              String... paths)
Creates a new default connection factory property source.

Parameters:
cf - connection factory to invoke properties on
paths - to read properties from

DefaultConnectionFactoryPropertySource

public DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf,
                                              Reader... readers)
Creates a new default connection factory property source.

Parameters:
cf - connection factory to invoke properties on
readers - to read properties from

DefaultConnectionFactoryPropertySource

public DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf,
                                              Properties props)
Creates a new default connection factory property source.

Parameters:
cf - connection factory to invoke properties on
props - to read properties from

DefaultConnectionFactoryPropertySource

public DefaultConnectionFactoryPropertySource(DefaultConnectionFactory cf,
                                              PropertySource.PropertyDomain domain,
                                              Properties props)
Creates a new default connection factory property source.

Parameters:
cf - connection factory to invoke properties on
domain - that properties are in
props - to read properties from
Method Detail

initialize

public void initialize()
Initializes the object for this property source.


getProperties

public static Set<String> getProperties()
Returns the property names for this property source.

Returns:
all property names


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.