Class MapTransformFilter

    • Constructor Detail

      • MapTransformFilter

        public MapTransformFilter​(QueryFilter next)
        Creates a Map transform filter that is able to transform a variety of objects to a properties map object
        Parameters:
        next - - the next query filter
    • Method Detail

      • transformToMap

        protected Map transformToMap​(ObjectInstance obj)
        Transform an ObjectInstance mbean to a Map
        Parameters:
        obj - - ObjectInstance format of an mbean
        Returns:
        map object
      • transformToMap

        protected Map transformToMap​(ObjectName objname)
        Transform an ObjectName mbean to a Map
        Parameters:
        objname - - ObjectName format of an mbean
        Returns:
        map object
      • transformToMap

        protected Map transformToMap​(AttributeList list)
        Transform an Attribute List format of an mbean to a Map
        Parameters:
        list - - AttributeList format of an mbean
        Returns:
        map object
      • transformToMap

        protected Map transformToMap​(org.apache.activemq.command.ActiveMQTextMessage msg)
                              throws JMSException
        Transform an ActiveMQTextMessage to a Map
        Parameters:
        msg - - text message to trasnform
        Returns:
        map object
        Throws:
        JMSException
      • transformToMap

        protected Map transformToMap​(org.apache.activemq.command.ActiveMQBytesMessage msg)
                              throws JMSException
        Transform an ActiveMQBytesMessage to a Map
        Parameters:
        msg - - bytes message to transform
        Returns:
        map object
        Throws:
        JMSException
      • transformToMap

        protected Map transformToMap​(org.apache.activemq.command.ActiveMQObjectMessage msg)
                              throws JMSException
        Transform an ActiveMQMessage to a Map
        Parameters:
        msg - - object message to transform
        Returns:
        map object
        Throws:
        JMSException
      • transformToMap

        protected Map transformToMap​(org.apache.activemq.command.ActiveMQMapMessage msg)
                              throws JMSException
        Transform an ActiveMQMapMessage to a Map
        Parameters:
        msg - - map message to transform
        Returns:
        map object
        Throws:
        JMSException
      • transformToMap

        protected Map transformToMap​(org.apache.activemq.command.ActiveMQStreamMessage msg)
                              throws JMSException
        Transform an ActiveMQStreamMessage to a Map
        Parameters:
        msg - - stream message to transform
        Returns:
        map object
        Throws:
        JMSException
      • transformToMap

        protected Map<String,​String> transformToMap​(org.apache.activemq.command.ActiveMQMessage msg)
                                                   throws JMSException
        Transform an ActiveMQMessage to a Map
        Parameters:
        msg - - message to transform
        Returns:
        map object
        Throws:
        JMSException
      • transformToMap

        protected Map transformToMap​(CompositeDataSupport data)
        Transform an openMBean composite data to a Map
        Parameters:
        data - - composite data to transform
        Returns:
        map object
      • getDisplayString

        protected String getDisplayString​(Object obj)