Class JMX
java.lang.Object
org.exoplatform.management.jmx.impl.JMX
Various JMX utilities.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectNamecreateObjectName(String domain, Map<String, String> table) This method create an object name from a generic map argument.
-
Method Details
-
createObjectName
public static ObjectName createObjectName(String domain, Map<String, String> table) throws MalformedObjectNameException, NullPointerExceptionThis 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- Thedomaincontains an illegal character, or one of the keys or values intablecontains an illegal character, or one of the values intabledoes not follow the rules for quoting.NullPointerException- One of the parameters is null.
-