1 8 package mx4j.tools.adaptor.http; 9 10 11 import java.io.IOException ; 12 import javax.management.JMException ; 13 import javax.management.MBeanServer ; 14 import javax.xml.parsers.DocumentBuilder ; 15 16 import org.w3c.dom.Document ; 17 18 23 public abstract class HttpCommandProcessorAdaptor implements HttpCommandProcessor 24 { 25 protected MBeanServer server; 26 27 protected DocumentBuilder builder; 28 29 public abstract Document executeRequest(HttpInputStream in) throws IOException , JMException ; 30 31 34 public void setMBeanServer(MBeanServer server) 35 { 36 this.server = server; 37 } 38 39 42 public void setDocumentBuilder(DocumentBuilder builder) 43 { 44 this.builder = builder; 45 } 46 } 47 | Popular Tags |