code: public void removeBundle(ExtendedBundle bundle) {
          if (serviceRegistration == null) {
              throw new IllegalStateException("Cannot add any bundle to listener while not started.");
          }
          synchronized (listeners) {
              listeners.remove(bundle.getBundle().getSymbolicName());
          }
      }
docs: {@inheritDoc}