[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] contrib/jetty/src/main/org/mortbay/http/jmx HttpHandlerMBean.java mbean_en.properties Ht
From: Jules Gosnell <jules_gosnell () users ! sourceforge ! net>
Date: 2002-12-31 12:30:37
[Download RAW message or body]
User: jules_gosnell
Date: 02/12/31 04:30:36
Modified: jetty/src/main/org/mortbay/http/jmx Tag: Branch_3_0
mbean_en.properties HttpContextMBean.java
Added: jetty/src/main/org/mortbay/http/jmx Tag: Branch_3_0
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.3.2.6 +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.3.2.5
retrieving revision 1.3.2.6
diff -u -r1.3.2.5 -r1.3.2.6
--- mbean_en.properties 28 Dec 2002 15:08:41 -0000 1.3.2.5
+++ mbean_en.properties 31 Dec 2002 12:30:35 -0000 1.3.2.6
@@ -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.6.2.8 +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.6.2.7
retrieving revision 1.6.2.8
diff -u -r1.6.2.7 -r1.6.2.8
--- HttpContextMBean.java 28 Dec 2002 15:08:42 -0000 1.6.2.7
+++ HttpContextMBean.java 31 Dec 2002 12:30:36 -0000 1.6.2.8
@@ -1,6 +1,6 @@
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
-// $Id: HttpContextMBean.java,v 1.6.2.7 2002/12/28 15:08:42 jules_gosnell Exp $
+// $Id: HttpContextMBean.java,v 1.6.2.8 2002/12/31 12:30:36 jules_gosnell Exp $
// ========================================================================
package org.mortbay.http.jmx;
@@ -16,7 +16,7 @@
/* ------------------------------------------------------------ */
/**
*
- * @version $Revision: 1.6.2.7 $
+ * @version $Revision: 1.6.2.8 $
* @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.2.1 +33 -0 contrib/jetty/src/main/org/mortbay/http/jmx/Attic/HttpHandlerMBean.java
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic