public class MapTransformFilter extends ResultTransformFilter
QUERY_DELIMETER
Constructor and Description |
---|
MapTransformFilter(QueryFilter next)
Creates a Map transform filter that is able to transform a variety of
objects to a properties map object
|
Modifier and Type | Method and Description |
---|---|
protected String |
getDisplayString(Object obj) |
protected Object |
transformElement(Object object)
Transform the given object to a Map object
|
protected Map |
transformToMap(org.apache.activemq.command.ActiveMQBytesMessage msg)
Transform an ActiveMQBytesMessage to a Map
|
protected Map |
transformToMap(org.apache.activemq.command.ActiveMQMapMessage msg)
Transform an ActiveMQMapMessage to a Map
|
protected Map<String,String> |
transformToMap(org.apache.activemq.command.ActiveMQMessage msg)
Transform an ActiveMQMessage to a Map
|
protected Map |
transformToMap(org.apache.activemq.command.ActiveMQObjectMessage msg)
Transform an ActiveMQMessage to a Map
|
protected Map |
transformToMap(org.apache.activemq.command.ActiveMQStreamMessage msg)
Transform an ActiveMQStreamMessage to a Map
|
protected Map |
transformToMap(org.apache.activemq.command.ActiveMQTextMessage msg)
Transform an ActiveMQTextMessage to a Map
|
protected Map |
transformToMap(AttributeList list)
Transform an Attribute List format of an mbean to a Map
|
protected Map |
transformToMap(CompositeDataSupport data)
Transform an openMBean composite data to a Map
|
protected Map |
transformToMap(ObjectInstance obj)
Transform an ObjectInstance mbean to a Map
|
protected Map |
transformToMap(ObjectName objname)
Transform an ObjectName mbean to a Map
|
query, query, transformList
public MapTransformFilter(QueryFilter next)
next
- - the next query filterprotected Object transformElement(Object object) throws Exception
transformElement
in class ResultTransformFilter
object
- - object to transformException
protected Map transformToMap(ObjectInstance obj)
obj
- - ObjectInstance format of an mbeanprotected Map transformToMap(ObjectName objname)
objname
- - ObjectName format of an mbeanprotected Map transformToMap(AttributeList list)
list
- - AttributeList format of an mbeanprotected Map transformToMap(org.apache.activemq.command.ActiveMQTextMessage msg) throws javax.jms.JMSException
msg
- - text message to trasnformjavax.jms.JMSException
protected Map transformToMap(org.apache.activemq.command.ActiveMQBytesMessage msg) throws javax.jms.JMSException
msg
- - bytes message to transformjavax.jms.JMSException
protected Map transformToMap(org.apache.activemq.command.ActiveMQObjectMessage msg) throws javax.jms.JMSException
msg
- - object message to transformjavax.jms.JMSException
protected Map transformToMap(org.apache.activemq.command.ActiveMQMapMessage msg) throws javax.jms.JMSException
msg
- - map message to transformjavax.jms.JMSException
protected Map transformToMap(org.apache.activemq.command.ActiveMQStreamMessage msg) throws javax.jms.JMSException
msg
- - stream message to transformjavax.jms.JMSException
protected Map<String,String> transformToMap(org.apache.activemq.command.ActiveMQMessage msg) throws javax.jms.JMSException
msg
- - message to transformjavax.jms.JMSException
protected Map transformToMap(CompositeDataSupport data)
data
- - composite data to transformprotected String getDisplayString(Object obj)
Copyright © 2005–2018 FuseSource, Corp.. All rights reserved.