All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cqframework.cql.cql2elm.LibrarySourceProviderFactory Maven / Gradle / Ivy

Go to download

The cql-to-elm library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
package org.cqframework.cql.cql2elm;

import java.util.Iterator;
import java.util.ServiceLoader;

public class LibrarySourceProviderFactory {
    private LibrarySourceProviderFactory() {}

    public static Iterator providers(boolean refresh) {
        var loader = ServiceLoader.load(LibrarySourceProvider.class);
        if (refresh) {
            loader.reload();
        }

        return loader.iterator();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy