Example #1
0
  private void resetListenersExceptResetResistant() {
    List<LoggerContextListener> toRetain = new ArrayList<LoggerContextListener>();

    for (LoggerContextListener lcl : loggerContextListenerList) {
      if (lcl.isResetResistant()) {
        toRetain.add(lcl);
      }
    }
    loggerContextListenerList.retainAll(toRetain);
  }
Example #2
0
 private void fireOnStop() {
   for (LoggerContextListener listener : loggerContextListenerList) {
     listener.onStop(this);
   }
 }
Example #3
0
 private void fireOnReset() {
   for (LoggerContextListener listener : loggerContextListenerList) {
     listener.onReset(this);
   }
 }