docs: @Override
      public void frameworkEvent(FrameworkEvent event) {
          switch (event.getType()) {
              case FrameworkEvent.ERROR:
                  status.addStartException(event.getBundle(), event.getThrowable());
                  break;
  
              // Wake up the listener if a startlevel changed event occurs, 
              // or the framework is stopped...
              case FrameworkEvent.STOPPED:
              case FrameworkEvent.STOPPED_UPDATE:
              case FrameworkEvent.STOPPED_BOOTCLASSPATH_MODIFIED:
              case FrameworkEvent.STARTLEVEL_CHANGED:
                  levelReached(false);
                  break;
              default:
                  break;
          }
      }