code: public void addBundle(ExtendedBundle bundle) {
          String symbolicName = bundle.getBundle().getSymbolicName();
          if (bundle.isRelevantForMountPointAnnotations()) {
              LOGGER.trace("Scanning bundle {} for PaxWicketMountPoint annotations", symbolicName);
              ArrayList<DefaultPageMounter> pageMounter = new ArrayList<DefaultPageMounter>();
              Collection<Class<?>> allClasses = bundle.getAllClasses();
              for (Class<?> clazz : allClasses) {
                  PaxWicketMountPoint mountPoint = clazz.getAnnotation(PaxWicketMountPoint.class);
                  if (mountPoint != null) {
                      if (!Page.class.isAssignableFrom(clazz)) {
                          LOGGER
                              .warn(
                                  "ignore PaxWicketMountPoint annotated class {} since it is no page class or has unresolved optional dependencies...",
                                  clazz.getName());
                          continue;
                      }
                      DefaultPageMounter mountPointRegistration =
                          new DefaultPageMounter(applicationName, paxWicketContext);
                      // We have checked this before...
                      @SuppressWarnings("unchecked")
                      Class<? extends Page> pageClass = (Class<? extends Page>) clazz;
                      mountPointRegistration.addMountPoint(mountPoint.mountPoint(), pageClass);
                      mountPointRegistration.register();
                      pageMounter.add(mountPointRegistration);
                      LOGGER.info("Mounting page {} at {}", clazz.getName(), mountPoint.mountPoint());
                  }
              }
              synchronized (mountPointRegistrations) {
                  if (mountPointRegistrations.containsKey(symbolicName)) {
                      removeBundle(bundle);
                  }
                  mountPointRegistrations.put(bundle.getID(), pageMounter);
              }
          } else {
              LOGGER.debug("Ignore bundle " + symbolicName + " for PageMounting.");
          }
  
      }
docs: {@inheritDoc}