@Deprecated public class StreamSoftServiceLoader extends Object
SoftServiceLoader
that returns a stream instead of an iterable thus allowing parallel loading etc.Constructor and Description |
---|
StreamSoftServiceLoader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static <T> Stream<ServiceDefinition<T>> |
loadParallel(Class<T> serviceType,
ClassLoader classLoader)
Deprecated.
|
static <T> Stream<T> |
loadPresentParallel(Class<T> serviceType,
ClassLoader classLoader)
Deprecated.
|
public static <T> Stream<ServiceDefinition<T>> loadParallel(Class<T> serviceType, ClassLoader classLoader)
T
- The typeserviceType
- The service typeclassLoader
- The class loaderpublic static <T> Stream<T> loadPresentParallel(Class<T> serviceType, ClassLoader classLoader)
T
- The typeserviceType
- The service typeclassLoader
- The class loader