util-moduleloader/src/main/java/com/hpe/caf/util/ModuleLoader.java
public static <T> List<T> getServices(final Class<T> intf)
    {
        Objects.requireNonNull(intf);
        List<T> ret = new LinkedList<>();
        for (final T t : ServiceLoader.load(intf)) {
            ret.add(t);
        }
        return ret;
    }
public static <T> List<T> getServices(final Class<T> intf)
    {
        Objects.requireNonNull(intf);
        List<T> ret = new LinkedList<>();
        for (final T t : ServiceLoader.load(intf)) {
            ret.add(t);
        }
        return ret;
    }
public static < T > List < T > getServices ( final Class < T > intf ) { Objects . requireNonNull ( intf ) ; List < T > ret = new LinkedList <> ( ) ; for ( final T t : ServiceLoader . load ( intf ) ) { ret . add ( t ) ; } return ret ; }
Get all advertised service implementations of the specified interface.

@param intf the interface to find advertised service implementations of
@param <T> the interface
@return a collection of implementations of the specified interface
Get all advertised service implementations of the specified interface .