Skip to content

ConfigurationLoader and CollectorConfigLoader interaction #19

@danizen

Description

@danizen

Current Behavior

A Java-level user can write their own alternative to ConfigurationLoader and CollectorConfigLoader, and achieve the ability to inject properties from memory into the Collector, but it is a bit out of the way to do this. The best way to extend it with current structure would be to construct a Properties object dynamically, save it to disk, and then pass that temporary file to the loader.

Desired Behavior

ConfigurationLoader in commons-lang should be restructured so that an CollectorConfigLoader can either provide a commons-lang Properties object or a File when loading configuration, or a File.

Motivation

A little bit round-about to save to a file first. Refactoring would be good, but it is a minor request.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions