On Fri, Mar 22, 2019 at 10:12 AM <r...@apache.org> wrote: > This is an automated email from the ASF dual-hosted git repository. > > remm pushed a commit to branch master > in repository https://gitbox.apache.org/repos/asf/tomcat.git > > > The following commit(s) were added to refs/heads/master by this push: > new 407d805 Add optional listeners for Server/Listener > 407d805 is described below > > commit 407d805f1772ae1dd03b6ffbac03be83f55c406b > Author: remm <r...@apache.org> > AuthorDate: Fri Mar 22 10:11:57 2019 +0100 > > Add optional listeners for Server/Listener > > It is a very slight variant of a standard listener. The difference is > that loading is not fatal when it fails. This would allow adding > example > configuration to the standard server.xml if deemed useful (example: > CDI). > Storeconfig will not attempt to persist the new listener at this time. > The dummy listener object includes the necessary information, just in > case, to hold on the properties and original className. >
For maximum flexibility, I was planning to add service loader support, but this then causes difficulties for overriding or avoiding to use a listener. Maybe it is best to not do it. Rémy