code: public void addBundle(ExtendedBundle bundle) {
          if (classResolverRegistration == null) {
              throw new IllegalStateException("The service is stoped and no more bundles could be added");
          }
          synchronized (bundles) {
              bundles.put(bundle.getBundle().getSymbolicName(), bundle.getBundle());
          }
      }
docs: {@inheritDoc}