487198 ContextScopeListener should be called on context start and stop

This commit is contained in:
Jan Bartel 2016-02-04 10:45:33 +01:00
parent dd2e042ddf
commit 980ab316ca
1 changed files with 3 additions and 1 deletions

View File

@ -768,6 +768,8 @@ public class ContextHandler extends ScopedHandler implements Attributes, Gracefu
old_context = __context.get();
__context.set(_scontext);
enterScope(null, getState());
// defers the calling of super.doStart()
startContext();
@ -855,7 +857,7 @@ public class ContextHandler extends ScopedHandler implements Attributes, Gracefu
ClassLoader old_classloader = null;
ClassLoader old_webapploader = null;
Thread current_thread = null;
exitScope(null);
Context old_context = __context.get();
__context.set(_scontext);
try