1 16 package org.mortbay.util.jmx; 17 18 import javax.management.MBeanException ; 19 20 import org.mortbay.util.ThreadedServer; 21 22 23 28 public class ThreadedServerMBean extends ThreadPoolMBean 29 { 30 31 public ThreadedServerMBean() 32 throws MBeanException 33 { 34 super(); 35 } 36 37 38 public ThreadedServerMBean(ThreadedServer object) 39 throws MBeanException 40 { 41 super(object); 42 } 43 44 45 protected void defineManagedResource() 46 { 47 super.defineManagedResource(); 48 49 defineAttribute("host"); 50 defineAttribute("port"); 51 defineAttribute("tcpNoDelay"); 52 defineAttribute("lingerTimeSecs"); 53 defineAttribute("acceptQueueSize"); 54 defineAttribute("acceptorThreads"); 55 } 56 } 57 | Popular Tags |