User: olegnitz
Date: 02/04/02 14:38:56
Modified: jetty/src/main/org/mortbay/http/jmx HttpContextMBean.java
HttpListenerMBean.java HttpServerMBean.java
NCSARequestLogMBean.java SocketListenerMBean.java
mbean_en.properties
Added: jetty/src/main/org/mortbay/http/jmx
SocketChannelListenerMBean.java
Log:
Jetty 4.0.0
Revision Changes Path
1.6 +0 -0
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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- HttpContextMBean.java 11 Mar 2002 05:28:59 -0000 1.5
+++ HttpContextMBean.java 2 Apr 2002 22:38:55 -0000 1.6
@@ -1,6 +1,6 @@
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
-// $Id: HttpContextMBean.java,v 1.5 2002/03/11 05:28:59 janb Exp $
+// $Id: HttpContextMBean.java,v 1.6 2002/04/02 22:38:55 olegnitz Exp $
// ========================================================================
package org.mortbay.http.jmx;
@@ -33,7 +33,7 @@
/* ------------------------------------------------------------ */
/**
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
public class HttpContextMBean extends LifeCycleMBean
1.6 +0 -0
contrib/jetty/src/main/org/mortbay/http/jmx/HttpListenerMBean.java
Index: HttpListenerMBean.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/http/jmx/HttpListenerMBean.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- HttpListenerMBean.java 11 Mar 2002 05:28:59 -0000 1.5
+++ HttpListenerMBean.java 2 Apr 2002 22:38:55 -0000 1.6
@@ -1,6 +1,6 @@
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
-// $Id: HttpListenerMBean.java,v 1.5 2002/03/11 05:28:59 janb Exp $
+// $Id: HttpListenerMBean.java,v 1.6 2002/04/02 22:38:55 olegnitz Exp $
// ========================================================================
package org.mortbay.http.jmx;
@@ -27,7 +27,7 @@
/* ------------------------------------------------------------ */
/**
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
public class HttpListenerMBean
1.6 +0 -0 contrib/jetty/src/main/org/mortbay/http/jmx/HttpServerMBean.java
Index: HttpServerMBean.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/http/jmx/HttpServerMBean.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- HttpServerMBean.java 11 Mar 2002 05:28:59 -0000 1.5
+++ HttpServerMBean.java 2 Apr 2002 22:38:55 -0000 1.6
@@ -1,6 +1,6 @@
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
-// $Id: HttpServerMBean.java,v 1.5 2002/03/11 05:28:59 janb Exp $
+// $Id: HttpServerMBean.java,v 1.6 2002/04/02 22:38:55 olegnitz Exp $
// ========================================================================
package org.mortbay.http.jmx;
@@ -41,7 +41,7 @@
* listener of the HttpServer, so it can create and destroy MBean
* wrappers for listeners and contexts.
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
public class HttpServerMBean extends LifeCycleMBean
1.6 +0 -0
contrib/jetty/src/main/org/mortbay/http/jmx/NCSARequestLogMBean.java
Index: NCSARequestLogMBean.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/http/jmx/NCSARequestLogMBean.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- NCSARequestLogMBean.java 11 Mar 2002 05:28:59 -0000 1.5
+++ NCSARequestLogMBean.java 2 Apr 2002 22:38:55 -0000 1.6
@@ -1,6 +1,6 @@
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
-// $Id: NCSARequestLogMBean.java,v 1.5 2002/03/11 05:28:59 janb Exp $
+// $Id: NCSARequestLogMBean.java,v 1.6 2002/04/02 22:38:55 olegnitz Exp $
// ========================================================================
package org.mortbay.http.jmx;
@@ -22,7 +22,7 @@
/* ------------------------------------------------------------ */
/**
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
public class NCSARequestLogMBean extends LifeCycleMBean
1.6 +0 -0
contrib/jetty/src/main/org/mortbay/http/jmx/SocketListenerMBean.java
Index: SocketListenerMBean.java
===================================================================
RCS file:
/cvsroot/jboss/contrib/jetty/src/main/org/mortbay/http/jmx/SocketListenerMBean.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SocketListenerMBean.java 11 Mar 2002 05:28:59 -0000 1.5
+++ SocketListenerMBean.java 2 Apr 2002 22:38:55 -0000 1.6
@@ -1,6 +1,6 @@
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
-// $Id: SocketListenerMBean.java,v 1.5 2002/03/11 05:28:59 janb Exp $
+// $Id: SocketListenerMBean.java,v 1.6 2002/04/02 22:38:55 olegnitz Exp $
// ========================================================================
package org.mortbay.http.jmx;
@@ -29,7 +29,7 @@
/* ------------------------------------------------------------ */
/**
*
- * @version $Revision: 1.5 $
+ * @version $Revision: 1.6 $
* @author Greg Wilkins (gregw)
*/
public class SocketListenerMBean extends HttpListenerMBean
1.3 +10 -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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- mbean_en.properties 20 Feb 2002 05:33:43 -0000 1.2
+++ mbean_en.properties 2 Apr 2002 22:38:55 -0000 1.3
@@ -40,9 +40,19 @@
HttpListener.host = The host or IP interface to listen on. Null or 0.0.0.0 is
interpreted as all known interfaces.
HttpListener.port = The port to listen on. 0 is interpreted as any free port.
+SocketListener = HttpListener for normal Socket connections
SocketListener.lowResourcePersistTimeMs = Time in ms to persist idle connections if
low on resources.
SocketListener.lowOnResources = True if listener is low on resources.
SocketListener.outOfResources = True if listener is out of resources.
+
+
+SocketChannelListener = HttpListener using nio nonblocking SocketChannels for idle
connections.
+SocketChannelListener.lowOnResources = True if listener is low on resources.
+SocketChannelListener.outOfResources = True if listener is out of resources.
+SocketChannelListener.host = The host or IP interface to listen on. Null or 0.0.0.0
is interpreted as all known interfaces.
+SocketChannelListener.port = The port to listen on. 0 is interpreted as any free
port.
+SocketChannelListener.maxReadTimeMs = The maximum time in milliseconds that a read
can be idle.
+SocketChannelListener.lingerTimeSecs = The maximum time in seconds that a
connection lingers during close handshaking.
HttpContext=A HTTP Context, which is a collection of HttpHandlers with their
resources and configurations. Changes made to this MBean are not persisted.
HttpContext.contextPath = The URL prefix of this context.
1.1
contrib/jetty/src/main/org/mortbay/http/jmx/SocketChannelListenerMBean.java
Index: SocketChannelListenerMBean.java
===================================================================
// ========================================================================
// Copyright (c) 1999 Mort Bay Consulting (Australia) Pty. Ltd.
// $Id: SocketChannelListenerMBean.java,v 1.1 2002/04/02 22:38:55 olegnitz Exp $
// ========================================================================
package org.mortbay.http.jmx;
import javax.management.InstanceNotFoundException;
import javax.management.MBeanException;
import javax.management.MBeanServer;
import javax.management.MBeanOperationInfo;
import javax.management.modelmbean.InvalidTargetObjectTypeException;
import javax.management.modelmbean.ModelMBeanAttributeInfo;
import javax.management.modelmbean.ModelMBeanOperationInfo;
import org.mortbay.util.jmx.ThreadPoolMBean;
import org.mortbay.util.Code;
import org.mortbay.util.Log;
import org.mortbay.util.LifeCycle;
import java.beans.beancontext.BeanContextMembershipListener;
import java.beans.beancontext.BeanContextMembershipEvent;
import java.util.Iterator;
import org.mortbay.util.ThreadPool;
/* ------------------------------------------------------------ */
/**
*
* @version $Revision: 1.1 $
* @author Greg Wilkins (gregw)
*/
public class SocketChannelListenerMBean extends ThreadPoolMBean
{
/* ------------------------------------------------------------ */
/** Constructor.
* @exception MBeanException
* @exception InstanceNotFoundException
*/
public SocketChannelListenerMBean()
throws MBeanException
{
super();
}
/* ------------------------------------------------------------ */
protected void defineManagedResource()
{
super.defineManagedResource();
defineAttribute("host");
defineAttribute("port");
defineAttribute("maxReadTimeMs");
defineAttribute("lingerTimeSecs");
defineAttribute("lowOnResources");
defineAttribute("outOfResources");
defineAttribute("defaultScheme");
}
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development