Class ConnectionConfigPropertySource

    • Constructor Detail

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

      • 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