/** * <p>reload</p> * * @throws java.io.IOException if any. * @throws java.io.FileNotFoundException if any. */ public synchronized void reload() throws IOException, FileNotFoundException { m_instance = null; init(); }
private void initWMICollectionConfig() { LOG.debug("initialize: Initializing collector: {}", getClass()); try { WmiDataCollectionConfigFactory.init(); } catch (FileNotFoundException e) { LOG.error("initialize: Error locating configuration.", e); throw new UndeclaredThrowableException(e); } catch (IOException e) { LOG.error("initialize: Error reading configuration.", e); throw new UndeclaredThrowableException(e); } }
private void initWMICollectionConfig() { LOG.debug("initialize: Initializing collector: {}", getClass()); try { WmiDataCollectionConfigFactory.init(); } catch (FileNotFoundException e) { LOG.error("initialize: Error locating configuration.", e); throw new UndeclaredThrowableException(e); } catch (IOException e) { LOG.error("initialize: Error reading configuration.", e); throw new UndeclaredThrowableException(e); } }