private void resetListenersExceptResetResistant() { List<LoggerContextListener> toRetain = new ArrayList<LoggerContextListener>(); for (LoggerContextListener lcl : loggerContextListenerList) { if (lcl.isResetResistant()) { toRetain.add(lcl); } } loggerContextListenerList.retainAll(toRetain); }
private void fireOnStop() { for (LoggerContextListener listener : loggerContextListenerList) { listener.onStop(this); } }
private void fireOnReset() { for (LoggerContextListener listener : loggerContextListenerList) { listener.onReset(this); } }