org.apache.excalibur.instrument.manager.http
Class InstrumentManagerHTTPConnector
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable
org.apache.excalibur.instrument.manager.http.InstrumentManagerHTTPConnector
- All Implemented Interfaces:
- Startable, Configurable, LogEnabled, Instrumentable, DefaultInstrumentManagerConnector
public class InstrumentManagerHTTPConnector
- extends AbstractLogEnabledInstrumentable
- implements DefaultInstrumentManagerConnector, Configurable, Startable
An HTTP connector which allows a client to connect to the ServiceManager
using the HTTP protocol. This connector makes use of an extremely
lightweight internal HTTP server to provide this access.
If the application is already running a full blown Servlet Engine, one
alternative to this connector is to make use of the InstrumentManagerServlet.
- Since:
- 4.1
- Version:
- CVS $Revision: 1.6 $ $Date: 2004/03/06 14:01:28 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PORT
public static final int DEFAULT_PORT
- The default port.
- See Also:
- Constant Field Values
ENCODING
public static final String ENCODING
- The encoding to use when writing out pages and reading in parameters.
- See Also:
- Constant Field Values
XML_BANNER
public static final String XML_BANNER
- See Also:
- Constant Field Values
InstrumentManagerHTTPConnector
public InstrumentManagerHTTPConnector()
- Creates a new InstrumentManagerHTTPConnector.
setInstrumentManager
public void setInstrumentManager(DefaultInstrumentManager manager)
- Set the InstrumentManager to which the Connecter will provide
access. This method is called before the new connector is
configured or started.
- Specified by:
setInstrumentManager
in interface DefaultInstrumentManagerConnector
configure
public void configure(Configuration configuration)
throws ConfigurationException
- Specified by:
configure
in interface Configurable
- Throws:
ConfigurationException
start
public void start()
throws Exception
- Specified by:
start
in interface Startable
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop
in interface Startable
- Throws:
Exception
Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.