コード例 #1
0
  private void resetListenersExceptResetResistant() {
    List<LoggerContextListener> toRetain = new ArrayList<LoggerContextListener>();

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