protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
if (!configurationWatchList.changeDetected()) { return;
protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
protected boolean changeDetected(long now) { if (now >= nextCheck) { updateNextCheck(now); return configurationWatchList.changeDetected(); } return false; }
@Override public void run() { fireEnteredRunMethod(); ConfigurationWatchList configurationWatchList = ConfigurationWatchListUtil.getConfigurationWatchList(context); if (configurationWatchList == null) { addWarn("Empty ConfigurationWatchList in context"); return; } List<File> filesToWatch = configurationWatchList.getCopyOfFileWatchList(); if (filesToWatch == null || filesToWatch.isEmpty()) { addInfo("Empty watch file list. Disabling "); return; } if (!configurationWatchList.changeDetected()) { return; } fireChangeDetected(); URL mainConfigurationURL = configurationWatchList.getMainURL(); addInfo(DETECTED_CHANGE_IN_CONFIGURATION_FILES); addInfo(CoreConstants.RESET_MSG_PREFIX + "named [" + context.getName() + "]"); LoggerContext lc = (LoggerContext) context; if (mainConfigurationURL.toString().endsWith("xml")) { performXMLConfiguration(lc, mainConfigurationURL); } else if (mainConfigurationURL.toString().endsWith("groovy")) { addError("Groovy classes are not available on the class path. ABORTING INITIALIZATION."); } fireDoneReconfiguring(); }
if (!configurationWatchList.changeDetected()) { return;
if (!configurationWatchList.changeDetected()) { return;
if (!configurationWatchList.changeDetected()) { return;