forked from jetty/jetty.project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue jetty#2578 - Listener behavior cleanup (Jetty 10.0.x) (jetty#3966)
* Avoid creating listener list for rarely used requestAttributeListener Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#3964 Keep a list of EventListeners in the AbstractConnector to make it more efficient to add and iterate over them. Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener Use addEventListener rather than bespoke listener methods. Support getEventListenerBeans at Container level for fast lookup improve javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener fixed test more javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener fixed tests Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#3964 Don't use null for empty lists of listeners Signed-off-by: Greg Wilkins <gregw@webtide.com> * fix merge Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener Resolve differences between eventListeners added as beans and beans added as EventListeners. The behaviour should now be the same regardless of how they listener is added and all listeners are now beans. Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener Add only SelectorManager listeners to manager from connector Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener Fixed javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener removed old TODO Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener connector cannot be null Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#3964 AbstractConnector keeps a specific list of HttpChannel.Listeners to avoid Connection.Listeners and MBean listeners being added to the HttpChannel listener list. Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener fixed merge Signed-off-by: Greg Wilkins <gregw@webtide.com> * fixed javadoc Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#2578 EventListener removed the ability to set/clear context listeners Instead just remove non-durable ones. Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#3964 Listeners Simplified listener handling by avoiding null connector, previously only needed for testing. Signed-off-by: Greg Wilkins <gregw@webtide.com> * fixed bad merge Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#3964 Listeners Fixed test that assumed HttpChannel listeners were not cleared by a recycle Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#3964 Listeners Separated out durable vs cyclic HttpChannel.Listeners, so as to simplify handling. Deprecated cyclic HttpChannel.Listeners, as I'm not sure the channel is the right place for them. Signed-off-by: Greg Wilkins <gregw@webtide.com> * removed deprecated cyclic HttpChannel listeners Signed-off-by: Greg Wilkins <gregw@webtide.com> * removed deprecated cyclic HttpChannel listeners - import Signed-off-by: Greg Wilkins <gregw@webtide.com> * Issue jetty#4003 Cleanup quickstart * Fixed tests that scan for "Started" on console Signed-off-by: Greg Wilkins <gregw@webtide.com> * updates from review Signed-off-by: Greg Wilkins <gregw@webtide.com>
- Loading branch information
Showing
65 changed files
with
429 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.