Class PooledConnectionFactoryPropertySource

java.lang.Object
org.ldaptive.props.AbstractPropertySource<PooledConnectionFactory>
org.ldaptive.props.PooledConnectionFactoryPropertySource
All Implemented Interfaces:
PropertySource<PooledConnectionFactory>

public final class PooledConnectionFactoryPropertySource extends AbstractPropertySource<PooledConnectionFactory>
Reads properties specific to PooledConnectionFactory and returns an initialized object of that type.
  • Field Details

  • Constructor Details

    • PooledConnectionFactoryPropertySource

      public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf)
      Creates a new pooled connection factory property source using the default properties file.
      Parameters:
      cf - connection factory to invoke properties on
    • PooledConnectionFactoryPropertySource

      public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf, String... paths)
      Creates a new pooled connection factory property source.
      Parameters:
      cf - connection factory to invoke properties on
      paths - to read properties from
    • PooledConnectionFactoryPropertySource

      public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf, Reader... readers)
      Creates a new pooled connection factory property source.
      Parameters:
      cf - connection factory to invoke properties on
      readers - to read properties from
    • PooledConnectionFactoryPropertySource

      public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf, Properties props)
      Creates a new pooled connection factory property source.
      Parameters:
      cf - connection factory to invoke properties on
      props - to read properties from
    • PooledConnectionFactoryPropertySource

      public PooledConnectionFactoryPropertySource(PooledConnectionFactory cf, PropertySource.PropertyDomain domain, Properties props)
      Creates a new pooled 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