From: Jules G. <jul...@us...> - 2002-12-31 12:47:11
|
User: jules_gosnell Date: 02/12/31 04:47:10 Modified: jetty/src/main/org/mortbay/http/jmx Tag: Branch_3_2 mbean_en.properties HttpContextMBean.java Added: jetty/src/main/org/mortbay/http/jmx Tag: Branch_3_2 HttpHandlerMBean.java Log: + Fixed stop/start handling of servlet context + Reuse empty LogSink slots. + HTAccessHandler checks realm as well as htpassword. + Clear context listeners after stop. + Clear context attributes after stop. + Use requestedSessionId as default session ID. + Added MBeans for handlers Revision Changes Path No revision No revision 1.7.2.3 +3 -0 contrib/jetty/src/main/org/mortbay/http/jmx/mbean_en.properties Index: mbean_en.properties =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/http/jmx/mbean_en.properties,v retrieving revision 1.7.2.2 retrieving revision 1.7.2.3 diff -u -r1.7.2.2 -r1.7.2.3 --- mbean_en.properties 10 Dec 2002 22:04:28 -0000 1.7.2.2 +++ mbean_en.properties 31 Dec 2002 12:47:10 -0000 1.7.2.3 @@ -159,3 +159,6 @@ NCSARequestLog.retainDays = Days to return old log file. If 0, files are kept forever. NCSARequestLog.extended = If true, use the extended NCSA format. NCSARequestLog.append = If true append to existing log files, else rename them. + +HttpHandler = A handler for HTTP requests. +HttpHandler.name = The name of the handler. 1.14.2.5 +19 -3 contrib/jetty/src/main/org/mortbay/http/jmx/HttpContextMBean.java Index: HttpContextMBean.java =================================================================== RCS file: /cvsroot/jboss/contrib/jetty/src/main/org/mortbay/http/jmx/HttpContextMBean.java,v retrieving revision 1.14.2.4 retrieving revision 1.14.2.5 diff -u -r1.14.2.4 -r1.14.2.5 --- HttpContextMBean.java 15 Dec 2002 14:51:32 -0000 1.14.2.4 +++ HttpContextMBean.java 31 Dec 2002 12:47:10 -0000 1.14.2.5 @@ -1,6 +1,6 @@ // ======================================================================== // Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd. -// $Id: HttpContextMBean.java,v 1.14.2.4 2002/12/15 14:51:32 jules_gosnell Exp $ +// $Id: HttpContextMBean.java,v 1.14.2.5 2002/12/31 12:47:10 jules_gosnell Exp $ // ======================================================================== package org.mortbay.http.jmx; @@ -16,7 +16,7 @@ /* ------------------------------------------------------------ */ /** * - * @version $Revision: 1.14.2.4 $ + * @version $Revision: 1.14.2.5 $ * @author Greg Wilkins (gregw) */ public class HttpContextMBean extends LifeCycleMBean @@ -40,7 +40,7 @@ defineAttribute("virtualHosts"); defineAttribute("contextPath"); - defineAttribute("handlers",false); + defineAttribute("handlers",READ_ONLY,ON_MBEAN); defineAttribute("classPath"); @@ -121,11 +121,27 @@ } /* ------------------------------------------------------------ */ + public void postRegister(Boolean ok) + { + super.postRegister(ok); + if (ok.booleanValue()) + getHandlers(); + } + + + /* ------------------------------------------------------------ */ public void postDeregister() { _httpContext=null; super.postDeregister(); } + + /* ------------------------------------------------------------ */ + public ObjectName[] getHandlers() + { + return getComponentMBeans(_httpContext.getHandlers(),null); + } + } No revision No revision 1.1.4.1 +33 -0 contrib/jetty/src/main/org/mortbay/http/jmx/Attic/HttpHandlerMBean.java |