in geronimo-health-common/src/main/java/org/apache/geronimo/microprofile/common/registry/HealthChecksRegistry.java [31:37]
static HealthChecksRegistry load() {
final Iterator<HealthChecksRegistry> iterator = ServiceLoader.load(HealthChecksRegistry.class).iterator();
if (iterator.hasNext()) {
return iterator.next();
}
throw new IllegalStateException("No implementation of HealthChecksRegistry found");
}