@ParametersAreNonnullByDefault public final class ServiceProvider extends Object
ServiceContext.| Modifier and Type | Method and Description |
|---|---|
static ServiceProvider |
getInstance()
Returns the instance of this class.
|
<S> Stream<ServiceDefinition<S>> |
load(Class<S> type)
Retrieves all registered services of the specified
type. |
@Nonnull public static ServiceProvider getInstance()
@Nonnull public <S> Stream<ServiceDefinition<S>> load(Class<S> type)
type.typeCopyright © 2017–2019 Atlanmod. All rights reserved.