code: @Override
      public Class<? extends MonetaryAmount> getDefaultAmountType() {
          if (Objects.isNull(configuredDefaultAmountType)) {
              for (MonetaryAmountFactoryProviderSpi<?> f : Bootstrap.getServices(MonetaryAmountFactoryProviderSpi.class)) {
                  if (f.getQueryInclusionPolicy() == MonetaryAmountFactoryProviderSpi.QueryInclusionPolicy.ALWAYS) {
                      configuredDefaultAmountType = f.getAmountType();
                      break;
                  }
              }
          }
          return Optional.ofNullable(configuredDefaultAmountType)
                  .orElseThrow(() -> new MonetaryException("No MonetaryAmountFactoryProviderSpi registered."));
      }
docs: /*
  (non-Javadoc)
  
  @see javax.money.spi.MonetaryAmountsSpi#getDefaultAmountType()