Index Changes

Difference between version and version     

Back to ESB Console Explore Management Runtime Environments, or ESB Console Explore Management Runtime Environments Info


At line 231 added 26 lines.
The generated XML can be parsed using:
{{{
import org.glassfish.openesb.management.data.io.ExplorerReader;
import org.glassfish.openesb.management.data.model.EnvironmentMeta;
....
....
....
try {
String uri = "E:/workspace/esb-console/JmxExplorer/output.txt.xml";
EnvironmentMeta report = ExplorerReader.parseFromFile(uri);
System.out.println(report.getDisplayString());
} catch (MalformedURLException ex) {
Logger.getLogger(ExplorerReader.class.getName()).log(Level.SEVERE, null, ex);
} catch (ParserConfigurationException ex) {
Logger.getLogger(ExplorerReader.class.getName()).log(Level.SEVERE, null, ex);
} catch (SAXException ex) {
Logger.getLogger(ExplorerReader.class.getName()).log(Level.SEVERE, null, ex);
} catch (URISyntaxException ex) {
Logger.getLogger(ExplorerReader.class.getName()).log(Level.SEVERE, null, ex);
} catch (IOException ex) {
Logger.getLogger(ExplorerReader.class.getName()).log(Level.SEVERE, null, ex);
}
}}}

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-20) was last changed on 17-Apr-10 09:27 AM, -0700 by Gopalan Suresh Raj