org.apache.activemq.broker.jmx
Class CompositeDataHelper

java.lang.Object
  extended by org.apache.activemq.broker.jmx.CompositeDataHelper

public class CompositeDataHelper
extends Object


Constructor Summary
CompositeDataHelper()
           
 
Method Summary
static void appendTabularMap(Map map, CompositeData cdata, String fieldName)
           
static Map getMessageUserProperties(CompositeData cdata)
          Returns a map of all the user properties in the given message CompositeData object
static Map getTabularMap(CompositeData cdata, String fieldName)
          Extracts the named TabularData field from the CompositeData and converts it to a Map which is the method used to get the typesafe user properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDataHelper

public CompositeDataHelper()
Method Detail

getTabularMap

public static Map getTabularMap(CompositeData cdata,
                                String fieldName)
Extracts the named TabularData field from the CompositeData and converts it to a Map which is the method used to get the typesafe user properties.


appendTabularMap

public static void appendTabularMap(Map map,
                                    CompositeData cdata,
                                    String fieldName)

getMessageUserProperties

public static Map getMessageUserProperties(CompositeData cdata)
Returns a map of all the user properties in the given message CompositeData object

Parameters:
cdata -
Returns:


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.