1 16 package org.mortbay.http.jmx; 17 18 import javax.management.MBeanException ; 19 20 import org.mortbay.util.jmx.ThreadPoolMBean; 21 22 23 28 public class SocketChannelListenerMBean extends ThreadPoolMBean 29 { 30 31 34 public SocketChannelListenerMBean() 35 throws MBeanException 36 { 37 super(); 38 } 39 40 41 protected void defineManagedResource() 42 { 43 super.defineManagedResource(); 44 defineAttribute("host"); 45 defineAttribute("port"); 46 defineAttribute("maxReadTimeMs"); 47 defineAttribute("lingerTimeSecs"); 48 defineAttribute("lowOnResources"); 49 defineAttribute("outOfResources"); 50 defineAttribute("defaultScheme"); 51 } 52 } 53 | Popular Tags |