1 19 20 package org.apache.excalibur.instrument.manager.http; 21 22 import org.apache.excalibur.instrument.manager.http.server.AbstractHTTPURLPrintWriterHandler; 23 import org.apache.excalibur.instrument.manager.DefaultInstrumentManager; 24 25 31 public abstract class AbstractHandler 32 extends AbstractHTTPURLPrintWriterHandler 33 { 34 35 private DefaultInstrumentManager m_manager; 36 37 38 private InstrumentManagerHTTPConnector m_connector; 39 40 43 51 public AbstractHandler( String path, 52 String contentType, 53 DefaultInstrumentManager manager, 54 InstrumentManagerHTTPConnector connector ) 55 { 56 super( path, contentType, InstrumentManagerHTTPConnector.ENCODING ); 57 58 m_manager = manager; 59 m_connector = connector; 60 } 61 62 65 70 public DefaultInstrumentManager getInstrumentManager() 71 { 72 return m_manager; 73 } 74 75 protected InstrumentManagerHTTPConnector getConnector() 76 { 77 return m_connector; 78 } 79 } 80 81 | Popular Tags |