public static MonitorAndManagementSettings newInstance ( URL settingsXml ) throws IOException , JAXBException { InputStream istream = settingsXml . openStream ( ) ; JAXBContext ctx = JAXBContext . newInstance ( MonitorAndManagementSettings . class ) ; return ( MonitorAndManagementSettings ) ctx . createUnmarshaller ( ) . unmarshal ( istream ) ; }
Creates a new instance of MonitorAndManagementSettings from an URL to xml settings file .