Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2016-02-04 04:45:33 -0500
committerJan Bartel2016-02-04 04:45:33 -0500
commit980ab316cad2a95d2b4ac73882ceb2a3bb147b09 (patch)
treeec8a81bac5c1ca18f93c93b5e8ae47f2cc86d951
parentdd2e042ddfe863d88db1fbeb92b8447fb13929a3 (diff)
downloadorg.eclipse.jetty.project-980ab316cad2a95d2b4ac73882ceb2a3bb147b09.tar.gz
org.eclipse.jetty.project-980ab316cad2a95d2b4ac73882ceb2a3bb147b09.tar.xz
org.eclipse.jetty.project-980ab316cad2a95d2b4ac73882ceb2a3bb147b09.zip
487198 ContextScopeListener should be called on context start and stop
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
index 745d56c9e6..dfb2459223 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/handler/ContextHandler.java
@@ -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

Back to the top