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…
Reference in New Issue