@ParametersAreNonnullByDefault public interface ServiceDefinition<T> extends Supplier<T>
| Modifier and Type | Method and Description |
|---|---|
T |
get()
Returns an instance of the service.
|
Class<? extends T> |
type()
Returns the service type.
|
Copyright © 2017–2019 Atlanmod. All rights reserved.