mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-03 04:19:12 +00:00
Signed-off-by: Jan Bartel <janb@webtide.com>
This commit is contained in:
parent
8eb21f84a3
commit
4ababf9888
@ -678,7 +678,11 @@ public class ContextHandler extends ScopedHandler implements Attributes, Gracefu
|
||||
_durableListeners.add(listener);
|
||||
|
||||
if (listener instanceof ContextScopeListener)
|
||||
{
|
||||
_contextListeners.add((ContextScopeListener)listener);
|
||||
if (__context.get()!=null)
|
||||
((ContextScopeListener)listener).enterScope(__context.get(),null,"Listener registered");
|
||||
}
|
||||
|
||||
if (listener instanceof ServletContextListener)
|
||||
_servletContextListeners.add((ServletContextListener)listener);
|
||||
|
Loading…
x
Reference in New Issue
Block a user