org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http
Class SetAttributesCommandProcessor

java.lang.Object
  extended by org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http.HttpCommandProcessorAdaptor
      extended by org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http.SetAttributesCommandProcessor
All Implemented Interfaces:
HttpCommandProcessor

public class SetAttributesCommandProcessor
extends HttpCommandProcessorAdaptor

SetAttributesCommandProcessor, processes a request for setting one or more attributes in one MBean. it uses th facility of havin multiple submit buttons in a web page if the set_all=Set variable is passed all attributes will be set, if a set_XXX varialbe is passed only the specific attribute will be set

Version:
$Revision: 1.1.1.1 $
Author:
Carlos Quiroz

Field Summary
 
Fields inherited from class org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http.HttpCommandProcessorAdaptor
builder, server
 
Constructor Summary
SetAttributesCommandProcessor()
           
 
Method Summary
 Document executeRequest(HttpInputStream in)
          Executes an HTTP request.
 
Methods inherited from class org.apache.felix.mosgi.jmx.httpconnector.mx4j.tools.adaptor.http.HttpCommandProcessorAdaptor
setDocumentBuilder, setMBeanServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetAttributesCommandProcessor

public SetAttributesCommandProcessor()
Method Detail

executeRequest

public Document executeRequest(HttpInputStream in)
                        throws IOException,
                               javax.management.JMException
Description copied from interface: HttpCommandProcessor
Executes an HTTP request. It assumes the request is well formed

Specified by:
executeRequest in interface HttpCommandProcessor
Specified by:
executeRequest in class HttpCommandProcessorAdaptor
Returns:
An XML Document
Throws:
IOException
javax.management.JMException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.