Class DefaultConnectionFactoryPropertySource

java.lang.Object
org.ldaptive.props.AbstractPropertySource<DefaultConnectionFactory>
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.
  • Field Details

  • Constructor Details

    • 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 Details

    • initialize

      public void initialize()
      Description copied from interface: PropertySource
      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