|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable org.apache.excalibur.instrument.manager.http.InstrumentManagerHTTPConnector
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.
Field Summary | |
static int |
DEFAULT_PORT
The default port. |
static java.lang.String |
ENCODING
The encoding to use when writing out pages and reading in parameters. |
static java.lang.String |
XML_BANNER
|
Fields inherited from interface org.apache.excalibur.instrument.Instrumentable |
EMPTY_INSTRUMENT_ARRAY, EMPTY_INSTRUMENTABLE_ARRAY |
Constructor Summary | |
InstrumentManagerHTTPConnector()
Creates a new InstrumentManagerHTTPConnector. |
Method Summary | |
void |
configure(Configuration configuration)
Pass the Configuration to the Configurable
class. |
void |
setInstrumentManager(DefaultInstrumentManager manager)
Set the InstrumentManager to which the Connecter will provide access. |
void |
start()
Starts the component. |
void |
stop()
Stops the component. |
Methods inherited from class org.apache.excalibur.instrument.AbstractLogEnabledInstrumentable |
addChildInstrumentable, addInstrument, getChildInstrumentables, getInstrumentableName, getInstruments, setInstrumentableName |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEFAULT_PORT
public static final java.lang.String ENCODING
public static final java.lang.String XML_BANNER
Constructor Detail |
public InstrumentManagerHTTPConnector()
Method Detail |
public void setInstrumentManager(DefaultInstrumentManager manager)
setInstrumentManager
in interface DefaultInstrumentManagerConnector
public void configure(Configuration configuration) throws ConfigurationException
Configurable
Configuration
to the Configurable
class.
configure
in interface Configurable
configuration
- the class configurations. Must not be null
.
ConfigurationException
- if an error occurspublic void start() throws java.lang.Exception
Startable
start
in interface Startable
java.lang.Exception
- if Component can not be startedpublic void stop() throws java.lang.Exception
Startable
stop
in interface Startable
java.lang.Exception
- if the Component can not be Stopped.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |