Interface SoftServiceLoader.ServiceCollector<S>

  • Type Parameters:
    S - The service type
    Enclosing class:
    SoftServiceLoader<S>

    public static interface SoftServiceLoader.ServiceCollector<S>
    Service collector for loading services of the given type.
    • Method Detail

      • collect

        void collect​(java.util.Collection<S> values)
      • collect

        default void collect​(java.util.Collection<S> values,
                             boolean allowFork)
      • collect

        default void collect​(java.util.function.Consumer<? super S> consumer)