mx4j.adaptor.http
Class RelationCommandProcessor

java.lang.Object
  |
  +--mx4j.adaptor.http.HttpCommandProcessorAdaptor
        |
        +--mx4j.adaptor.http.RelationCommandProcessor
All Implemented Interfaces:
HttpCommandProcessor

public class RelationCommandProcessor
extends HttpCommandProcessorAdaptor

CreateMBeanCommandProcessor, processes a request for creating and registering an MBean

Version:
$Revision: 1.5 $
Author:
Bronwen Cassidy

Fields inherited from class mx4j.adaptor.http.HttpCommandProcessorAdaptor
builder, server
 
Constructor Summary
RelationCommandProcessor()
           
 
Method Summary
protected  void addRelationTypeNames(org.w3c.dom.Element node, org.w3c.dom.Document document, java.util.List allRelationNames)
          put everything into a map as we need to maintain the correct relationTypeName to relationId TODO: determine how to make relationService tab useful!!
protected  boolean checkRelationServiceIsRegistered()
           
 org.w3c.dom.Document executeRequest(HttpInputStream in)
          Executes an HTTP request.
 
Methods inherited from class mx4j.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

RelationCommandProcessor

public RelationCommandProcessor()
Method Detail

executeRequest

public 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
Overrides:
executeRequest in class HttpCommandProcessorAdaptor
Following copied from interface: mx4j.adaptor.http.HttpCommandProcessor
Parameters:
out - Input request
Returns:
An XML Document
Throws:
java.io.IOException -  

addRelationTypeNames

protected void addRelationTypeNames(org.w3c.dom.Element node,
                                    org.w3c.dom.Document document,
                                    java.util.List allRelationNames)
                             throws JMException
put everything into a map as we need to maintain the correct relationTypeName to relationId TODO: determine how to make relationService tab useful!!

checkRelationServiceIsRegistered

protected boolean checkRelationServiceIsRegistered()


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