Class ConnectionConfigPropertySource

java.lang.Object
org.ldaptive.props.AbstractPropertySource<ConnectionConfig>
org.ldaptive.props.ConnectionConfigPropertySource
All Implemented Interfaces:
PropertySource<ConnectionConfig>

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

  • Constructor Details

    • ConnectionConfigPropertySource

      public ConnectionConfigPropertySource(ConnectionConfig cc)
      Creates a new connection config property source using the default properties file.
      Parameters:
      cc - connection config to invoke properties on
    • ConnectionConfigPropertySource

      public ConnectionConfigPropertySource(ConnectionConfig cc, String... paths)
      Creates a new connection config property source.
      Parameters:
      cc - connection config to invoke properties on
      paths - to read properties from
    • ConnectionConfigPropertySource

      public ConnectionConfigPropertySource(ConnectionConfig cc, Reader... readers)
      Creates a new connection config property source.
      Parameters:
      cc - connection config to invoke properties on
      readers - to read properties from
    • ConnectionConfigPropertySource

      public ConnectionConfigPropertySource(ConnectionConfig cc, Properties props)
      Creates a new connection config property source.
      Parameters:
      cc - connection config to invoke properties on
      props - to read properties from
    • ConnectionConfigPropertySource

      public ConnectionConfigPropertySource(ConnectionConfig cc, PropertySource.PropertyDomain domain, Properties props)
      Creates a new connection config property source.
      Parameters:
      cc - connection config 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