org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http
Interface HttpCommandProcessor

All Known Implementing Classes:
ConstructorsCommandProcessor, CreateMBeanCommandProcessor, DeleteMBeanCommandProcessor, EmptyCommandProcessor, GetAttributeCommandProcessor, HttpCommandProcessorAdaptor, InvokeOperationCommandProcessor, MBeanCommandProcessor, ServerByDomainCommandProcessor, ServerCommandProcessor, SetAttributeCommandProcessor, SetAttributesCommandProcessor

public interface HttpCommandProcessor

HttpCommandProcessor sets the structure of a command processor

Version:
$Revision: 1.1.1.1 $
Author:
Carlos Quiroz

Method Summary
 Document executeRequest(HttpInputStream in)
          Executes an HTTP request.
 void setDocumentBuilder(DocumentBuilder builder)
          Sets the Document Builder factory
 void setMBeanServer(MBeanServer server)
          Sets the target MBeanServer
 

Method Detail

executeRequest

Document executeRequest(HttpInputStream in)
                        throws IOException,
                               JMException
Executes an HTTP request. It assumes the request is well formed

Parameters:
out - Input request
Returns:
An XML Document
Throws:
IOException
JMException

setMBeanServer

void setMBeanServer(MBeanServer server)
Sets the target MBeanServer


setDocumentBuilder

void setDocumentBuilder(DocumentBuilder builder)
Sets the Document Builder factory



Copyright © 2011 Apache Software Foundation. All Rights Reserved.