code: public void register() {
          LOGGER.debug("Register mount tracker as OSGi service");
  
          synchronized (this) {
              if (serviceRegistration != null) {
                  throw new IllegalStateException(String.format("%s [%s] had been already registered.", getClass()
                      .getSimpleName(), this));
              }
              serviceRegistration = bundleContext.registerService(SERVICE_CLASSES, this, properties);
          }
      }
docs: Automatically regsiteres the {@link org.ops4j.pax.wicket.api.PageMounter} as OSGi service