mx4j.adaptor.http
Class HttpCommandProcessorAdaptor

java.lang.Object
  |
  +--mx4j.adaptor.http.HttpCommandProcessorAdaptor
All Implemented Interfaces:
HttpCommandProcessor
Direct Known Subclasses:
ConstructorsCommandProcessor, CreateMBeanCommandProcessor, DeleteMBeanCommandProcessor, EmptyCommandProcessor, GetAttributeCommandProcessor, InvokeOperationCommandProcessor, MBeanCommandProcessor, RelationCommandProcessor, ServerByDomainCommandProcessor, ServerCommandProcessor, SetAttributeCommandProcessor, SetAttributesCommandProcessor

public abstract class HttpCommandProcessorAdaptor
extends java.lang.Object
implements HttpCommandProcessor

HttpCommandProcessor sets the structure of a command processor

Version:
$Revision: 1.1 $
Author:
Carlos Quiroz

Field Summary
protected  javax.xml.parsers.DocumentBuilder builder
           
protected  MBeanServer server
           
 
Constructor Summary
HttpCommandProcessorAdaptor()
           
 
Method Summary
abstract  org.w3c.dom.Document executeRequest(HttpInputStream in)
          Executes an HTTP request.
 void setDocumentBuilder(javax.xml.parsers.DocumentBuilder builder)
          Sets the Document Builder factory
 void setMBeanServer(MBeanServer server)
          Sets the target MBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

protected MBeanServer server

builder

protected javax.xml.parsers.DocumentBuilder builder
Constructor Detail

HttpCommandProcessorAdaptor

public HttpCommandProcessorAdaptor()
Method Detail

executeRequest

public abstract org.w3c.dom.Document executeRequest(HttpInputStream in)
                                             throws java.io.IOException,
                                                    JMException
Description copied from interface: HttpCommandProcessor
Executes an HTTP request. It assumes the request is well formed
Specified by:
executeRequest in interface HttpCommandProcessor
Following copied from interface: mx4j.adaptor.http.HttpCommandProcessor
Parameters:
out - Input request
Returns:
An XML Document
Throws:
java.io.IOException -  

setMBeanServer

public void setMBeanServer(MBeanServer server)
Sets the target MBeanServer
Specified by:
setMBeanServer in interface HttpCommandProcessor

setDocumentBuilder

public void setDocumentBuilder(javax.xml.parsers.DocumentBuilder builder)
Sets the Document Builder factory
Specified by:
setDocumentBuilder in interface HttpCommandProcessor


Copyright © 2001-2002 MX4J Team. All Rights Reserved.