Class JMX


  • public class JMX
    extends Object
    Various JMX utilities.
    Version:
    $Revision$
    Author:
    Julien Viet
    • Method Detail

      • createObjectName

        public static ObjectName createObjectName​(String domain,
                                                  Map<String,​String> table)
                                           throws MalformedObjectNameException,
                                                  NullPointerException
        This method create an object name from a generic map argument.
        Parameters:
        domain - The domain part of the object name.
        table - A hash table containing one or more key properties. The key of each entry in the table is the key of a key property in the object name. The associated value in the table is the associated value in the object name.
        Returns:
        an ObjectName corresponding to the given domain and key mappings.
        Throws:
        MalformedObjectNameException - The domain contains an illegal character, or one of the keys or values in table contains an illegal character, or one of the values in table does not follow the rules for quoting.
        NullPointerException - One of the parameters is null.