1 16 package org.mortbay.http.handler.jmx; 17 18 import javax.management.MBeanException ; 19 20 import org.mortbay.http.jmx.HttpHandlerMBean; 21 22 23 28 public class ResourceHandlerMBean extends HttpHandlerMBean 29 { 30 31 34 public ResourceHandlerMBean() 35 throws MBeanException  36 {} 37 38 39 protected void defineManagedResource() 40 { 41 super.defineManagedResource(); 42 defineAttribute("allowedMethods"); 43 defineAttribute("dirAllowed"); 44 defineAttribute("acceptRanges"); 45 defineAttribute("redirectWelcome"); 46 defineAttribute("minGzipLength"); 47 } 48 } 49 | Popular Tags |