You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Current Behavior
A Java-level user can write their own alternative to
ConfigurationLoader
andCollectorConfigLoader
, 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 aProperties
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 anCollectorConfigLoader
can either provide a commons-langProperties
object or a File when loading configuration, or aFile
.Motivation
A little bit round-about to save to a file first. Refactoring would be good, but it is a minor request.
The text was updated successfully, but these errors were encountered: