mx4j.adaptor.http
Class RelationCommandProcessor

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

public class RelationCommandProcessor
extends java.lang.Object
implements mx4j.adaptor.http.HttpCommandProcessor

CreateMBeanCommandProcessor, processes a request for creating and registering an MBean

Version:
$Revision: 1.3 $
Author:
Bronwen Cassidy

Constructor Summary
RelationCommandProcessor(MBeanServer server, javax.xml.parsers.DocumentBuilder builder)
           
 
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(mx4j.adaptor.http.HttpInputStream in)
          Executes an HTTP request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationCommandProcessor

public RelationCommandProcessor(MBeanServer server,
                                javax.xml.parsers.DocumentBuilder builder)
Method Detail

executeRequest

public org.w3c.dom.Document executeRequest(mx4j.adaptor.http.HttpInputStream in)
                                    throws java.io.IOException,
                                           JMException
Description copied from interface: mx4j.adaptor.http.HttpCommandProcessor
Executes an HTTP request. It assumes the request is well formed
Specified by:
executeRequest in interface mx4j.adaptor.http.HttpCommandProcessor
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()