Re: New component proposal: commons-plugins

2022-04-03 Thread Ralph Goers
It has been too long since I looked at Commons Configuration for me to answer that. Ralph > On Apr 3, 2022, at 7:25 PM, Gary Gregory wrote: > > So in a Commons centric fantasy, Log4j Nodes could be Commons Configuration > objects? > > G > > On Sun, Apr 3, 2022, 22:18 Ralph Goers wrote: > >

Re: New component proposal: commons-plugins

2022-04-03 Thread Matt Sicker
Perhaps? I’d have to investigate how commons configuration works to be sure. And thanks, Ralph, for answering the questions here. I’ll write up a more detailed proposal we can discuss. — Matt Sicker > On Apr 3, 2022, at 21:25, Gary Gregory wrote: > > So in a Commons centric fantasy, Log4j No

Re: New component proposal: commons-plugins

2022-04-03 Thread Gary Gregory
So in a Commons centric fantasy, Log4j Nodes could be Commons Configuration objects? G On Sun, Apr 3, 2022, 22:18 Ralph Goers wrote: > If you look at Log4j, we parse the configuration and convert it to a Node > hierarchy. > Variable interpolation occurs as the Nodes are constructed. > > But aga

Re: New component proposal: commons-plugins

2022-04-03 Thread Ralph Goers
If you look at Log4j, we parse the configuration and convert it to a Node hierarchy. Variable interpolation occurs as the Nodes are constructed. But again, Nothing says a Commons Plugins implementation has to work the same way. Ralph > On Apr 3, 2022, at 7:12 PM, Gary Gregory wrote: > > Nic

Re: New component proposal: commons-plugins

2022-04-03 Thread Gary Gregory
Nice thread :-) Where does the parsing of configuration files mix in such a stack? Where does variable interpolation come into play? Gary On Sun, Apr 3, 2022, 20:50 Ralph Goers wrote: > Matt J, > > I fully expect that if commons-plugins came into fruition it would bear a > resemblance > to th

Re: New component proposal: commons-plugins

2022-04-03 Thread Ralph Goers
Matt J, I fully expect that if commons-plugins came into fruition it would bear a resemblance to the Log4j plugin system but there would be differences. For example, while Log4j integrates with Spring we don’t currently support having the logging configuration in application.yml. I also susp

Re: New component proposal: commons-plugins

2022-04-03 Thread Ralph Goers
I don’t think so. Commons Configuration (which I was working actively on when I started writing Log4j 2) is designed to provide access to the configuration data. The plugin system is design to convert configuration data into instantiated objects. I could easily see Commons Configuration being

Re: New component proposal: commons-plugins

2022-04-03 Thread Ralph Goers
ServliceLoader is used to locate plugins but what is loaded by ServiceLoader are not plugins. Log4j Plugins are categorized into different groupings, primarily by where and how the plugins are used. For example, PatternConverters used by the PatternLayout are separate from Appenders, Filters

Re: New component proposal: commons-plugins

2022-04-03 Thread Matt Juntunen
Hi Matt, This is quite timely since I've spent the past week researching frameworks to modularize a monolithic application at my day job into separate components/plugins. Everything I've looked at so far is larger and more complicated than I need (e.g. OSGi, Spring, etc) so I was seriously conside

Re: [Math] Review of "genetic algorithm" module

2022-04-03 Thread Gilles Sadowski
Hello. Le mar. 29 mars 2022 à 17:08, Avijit Basak a écrit : > > Hi All > > Please find my comments below. > > [...] > > --I have made the changes and created a new PR. Kindly review the same and > share your thoughts. > https://github.com/apache/commons-math/pull/208 I've merged PR #208

Re: New component proposal: commons-plugins

2022-04-03 Thread Gary Gregory
Should this be in Commons Configuration? Gary On Sat, Apr 2, 2022, 15:33 Matt Sicker wrote: > Hi all, I’ve got a proposal for a new Commons component that I’d like to > get feedback on. Essentially, I’d like to propose the creation of a Commons > Plugins component inspired by the plugin system