docs: @Override
      public void registerPossibleCapability(Capability capability, PathAddress registrationPoint) {
          final CapabilityId capabilityId = new CapabilityId(capability.getName(), CapabilityScope.GLOBAL);
          RegistrationPoint point = new RegistrationPoint(registrationPoint, null);
          CapabilityRegistration<?> capabilityRegistration = new CapabilityRegistration<>(capability, CapabilityScope.GLOBAL, point);
          writeLock.lock();
          try {
              possibleCapabilities.computeIfPresent(capabilityId, (capabilityId1, currentRegistration) -> {
                  RegistrationPoint rp = capabilityRegistration.getOldestRegistrationPoint();
                  // The actual capability must be the same, and we must not already have a registration
                  // from this resource
                  if (!Objects.equals(capabilityRegistration.getCapability(), currentRegistration.getCapability())
                          || !currentRegistration.addRegistrationPoint(rp)) {
                      throw ControllerLogger.MGMT_OP_LOGGER.capabilityAlreadyRegisteredInContext(capabilityId.getName(),
                              capabilityId.getScope().getName());
                  }
                  return currentRegistration;
              });
              possibleCapabilities.putIfAbsent(capabilityId, capabilityRegistration);
              modified = true;
          } finally {
              writeLock.unlock();
          }
      }