Class MXWrapper


  • public final class MXWrapper
    extends Object
    • Field Detail

      • NO_JMX

        public static final String NO_JMX
        Name of the property allowing the use of the A3 runtime without the JMX management framework. The additional property MXServer allows to configure the name of the implementation class of the MXServer interface (by default com.scalagent.jmx.JMXServer).
        See Also:
        Constant Field Values
      • mxserver

        private static MXServer mxserver
    • Constructor Detail

      • MXWrapper

        public MXWrapper()
    • Method Detail

      • setMXServer

        public static void setMXServer​(MXServer server)
      • dumpAttributes

        public static Hashtable<String,​Object> dumpAttributes​(String[] list)
        Returns an hashtable containing the values of each JMX attributes described in list.
        Parameters:
        list - List of attributes (may contain wildcards)
        Returns:
        The values of each JMX attributes described in list.
      • dumpAttributes

        public static Hashtable<String,​Object> dumpAttributes​(String[] list,
                                                                    boolean streamable)
        Returns an hashtable containing the values of each JMX attributes described in list.
        Parameters:
        list - List of attributes (may contain wildcards)
        streamable - If true adds only streamable values (see StreamUtil class).
        Returns:
        The values of each JMX attributes described in list.