diff src/org/eclipse/jetty/server/handler/ContextHandler.java @ 848:22a4e93ed20e

remove Container
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 19 Sep 2016 16:38:36 -0600
parents 83765eb09bef
children cb78ee27b0e0
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/handler/ContextHandler.java	Mon Sep 19 16:11:15 2016 -0600
+++ b/src/org/eclipse/jetty/server/handler/ContextHandler.java	Mon Sep 19 16:38:36 2016 -0600
@@ -250,12 +250,7 @@
 	{
 		if (_errorHandler != null)
 		{
-			Server old_server = getServer();
-			if (old_server != null && old_server != server)
-				old_server.getContainer().update(this,_errorHandler,null,"error",true);
 			super.setServer(server);
-			if (server != null && server != old_server)
-				server.getContainer().update(this,null,_errorHandler,"error",true);
 			_errorHandler.setServer(server);
 		}
 		else
@@ -1259,7 +1254,6 @@
 	public void setManagedAttribute(String name, Object value)
 	{
 		Object old = _managedAttributes.put(name,value);
-		getServer().getContainer().update(this,old,value,name,true);
 	}
 
 	/* ------------------------------------------------------------ */
@@ -1422,8 +1416,6 @@
 	{
 		if (errorHandler != null)
 			errorHandler.setServer(getServer());
-		if (getServer() != null)
-			getServer().getContainer().update(this,_errorHandler,errorHandler,"errorHandler",true);
 		_errorHandler = errorHandler;
 	}