public final class SpiHelper
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static <T> T |
loadSpi(java.lang.Class<T> service) |
Deprecated.
Use direct access to
ServiceLoader or have such a helper in your module, as from jigsaw this is not
allowed |
@Deprecated public static <T> T loadSpi(java.lang.Class<T> service)
ServiceLoader or have such a helper in your module, as from jigsaw this is not
allowedT - service typeservice - the service class to loadjava.lang.IllegalStateException - if none implementation foundCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.