Class BlockingConnectionPoolPropertySource

java.lang.Object
org.ldaptive.props.AbstractPropertySource<BlockingConnectionPool>
org.ldaptive.props.BlockingConnectionPoolPropertySource
All Implemented Interfaces:
PropertySource<BlockingConnectionPool>

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

  • Constructor Details

    • BlockingConnectionPoolPropertySource

      public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp)
      Creates a new blocking connection pool property source using the default properties file.
      Parameters:
      cp - connection pool to invoke properties on
    • BlockingConnectionPoolPropertySource

      public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, String... paths)
      Creates a new blocking connection pool property source.
      Parameters:
      cp - connection pool to invoke properties on
      paths - to read properties from
    • BlockingConnectionPoolPropertySource

      public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, Reader... readers)
      Creates a new blocking connection pool property source.
      Parameters:
      cp - connection pool to invoke properties on
      readers - to read properties from
    • BlockingConnectionPoolPropertySource

      public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, Properties props)
      Creates a new blocking connection pool property source.
      Parameters:
      cp - connection pool to invoke properties on
      props - to read properties from
    • BlockingConnectionPoolPropertySource

      public BlockingConnectionPoolPropertySource(BlockingConnectionPool cp, PropertySource.PropertyDomain domain, Properties props)
      Creates a new blocking connection pool property source.
      Parameters:
      cp - connection pool 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