org.apache.qpid.management.wsdm.capabilities
Class QManMessageHandler

java.lang.Object
  extended by org.apache.muse.core.routing.AbstractMessageHandler
      extended by org.apache.muse.core.routing.ReflectionMessageHandler
          extended by org.apache.qpid.management.wsdm.capabilities.QManMessageHandler
All Implemented Interfaces:
org.apache.muse.core.routing.MessageHandler

public class QManMessageHandler
extends org.apache.muse.core.routing.ReflectionMessageHandler

JMXConnectionListener_example custom implementation of Muse message handler to properly deal with byte arrays.


Field Summary
 
Fields inherited from class org.apache.muse.core.routing.AbstractMessageHandler
EMPTY_REQUEST
 
Constructor Summary
QManMessageHandler(String actionURI, QName requestQName, QName returnValueName)
          Builds a new message handler with the given arguments.
 
Method Summary
 Object[] fromXML(Element xml)
          Transforms the given xml element in the corresponding object representation.
 
Methods inherited from class org.apache.muse.core.routing.ReflectionMessageHandler
getReturnValueName, toXML
 
Methods inherited from class org.apache.muse.core.routing.AbstractMessageHandler
getAction, getMethod, getRequestName, getResponseName, setMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QManMessageHandler

public QManMessageHandler(String actionURI,
                          QName requestQName,
                          QName returnValueName)
Builds a new message handler with the given arguments.

Parameters:
actionURI - the action URI.
requestQName - the qname of the incoming request.
returnValueName - the qname of the result value.
Method Detail

fromXML

public Object[] fromXML(Element xml)
                 throws org.apache.muse.ws.addressing.soap.SoapFault
Transforms the given xml element in the corresponding object representation.

Specified by:
fromXML in interface org.apache.muse.core.routing.MessageHandler
Overrides:
fromXML in class org.apache.muse.core.routing.ReflectionMessageHandler
Throws:
SoapFaul - when unmarshal operation fails.
org.apache.muse.ws.addressing.soap.SoapFault


Licensed to the Apache Software Foundation