1 16 package org.mortbay.http.jmx; 17 18 import javax.management.MBeanException ; 19 20 import org.mortbay.util.jmx.ThreadedServerMBean; 21 22 23 28 public class HttpListenerMBean 29 extends ThreadedServerMBean 30 { 31 32 35 public HttpListenerMBean() 36 throws MBeanException 37 {} 38 39 40 protected void defineManagedResource() 41 { 42 super.defineManagedResource(); 43 defineAttribute("defaultScheme"); 44 defineAttribute("lowOnResources",false); 45 defineAttribute("outOfResources",false); 46 defineAttribute("confidentialPort"); 47 defineAttribute("confidentialScheme"); 48 defineAttribute("integralPort"); 49 defineAttribute("integralScheme"); 50 defineAttribute("bufferSize"); 51 defineAttribute("bufferReserve"); 52 } 53 } 54 | Popular Tags |