org.apache.activemq.broker.jmx
Class CompositeDataHelper
java.lang.Object
org.apache.activemq.broker.jmx.CompositeDataHelper
public class CompositeDataHelper
- extends java.lang.Object
Method Summary |
static void |
appendTabularMap(java.util.Map map,
javax.management.openmbean.CompositeData cdata,
java.lang.String fieldName)
|
static java.util.Map |
getMessageUserProperties(javax.management.openmbean.CompositeData cdata)
Returns a map of all the user properties in the given message CompositeData
object |
static java.util.Map |
getTabularMap(javax.management.openmbean.CompositeData cdata,
java.lang.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 |
CompositeDataHelper
public CompositeDataHelper()
getTabularMap
public static java.util.Map getTabularMap(javax.management.openmbean.CompositeData cdata,
java.lang.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(java.util.Map map,
javax.management.openmbean.CompositeData cdata,
java.lang.String fieldName)
getMessageUserProperties
public static java.util.Map getMessageUserProperties(javax.management.openmbean.CompositeData cdata)
- Returns a map of all the user properties in the given message
CompositeData
object
- Parameters:
cdata
-
- Returns:
Copyright © 2005-2015. All Rights Reserved.