In charge of dealing with the XML processing of the snapshot's data.
Method Summary
public static boolean
addMBeanName(String mbeanName) Removes from the snapshot-config.xml a configuration element
in order to persistently keep track of all user requested statistics.
public static void
checkXMLExists() Ensures that there is an existing XML file.
removeMBeanName(String mbeanName) Adds to the snapshot-config.xml another configuration element
in order to persistently keep track of all user requested statistics.
public static void
saveDocument(Document document, String path) Write the document object to the file location specified by
the path.
public static boolean addMBeanName(String mbeanName)(Code)
Removes from the snapshot-config.xml a configuration element
in order to persistently keep track of all user requested statistics.
If there does not exist an instance of the mbeanNAme, nothing will be done.
Parses the XML document specified by the private member 'pathToXML'
and stores the information in the a Document object
removeMBeanName
public static boolean removeMBeanName(String mbeanName)(Code)
Adds to the snapshot-config.xml another configuration element
in order to persistently keep track of all user requested statistics.
If there is a duplicate, nothing will be done.