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 Summary

    Modifier and Type
    Method
    Description
    void
    collect(Collection<S> values)
     
    default void
    collect(Collection<S> values, boolean allowFork)
     
    default void
    collect(Consumer<? super S> consumer)
     
  • Method Details

    • collect

      void collect(Collection<S> values)
    • collect

      default void collect(Collection<S> values, boolean allowFork)
    • collect

      default void collect(Consumer<? super S> consumer)