mx4j.tools.adaptor.http

Class HttpCommandProcessorAdaptor

Implemented Interfaces:
HttpCommandProcessor
Known Direct 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.3 $

Field Summary

protected DocumentBuilder
builder
protected javax.management.MBeanServer
server

Method Summary

abstract Document
executeRequest(HttpInputStream in)
void
setDocumentBuilder(DocumentBuilder builder)
Sets the Document Builder factory
void
setMBeanServer(javax.management.MBeanServer server)
Sets the target MBeanServer

Field Details

builder

protected DocumentBuilder builder

server

protected javax.management.MBeanServer server

Method Details

executeRequest

public abstract Document executeRequest(HttpInputStream in)
            throws IOException,
                   javax.management.JMException
Specified by:
executeRequest in interface HttpCommandProcessor

setDocumentBuilder

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

setMBeanServer

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

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.