public class ServiceUtil extends Object
Constructor and Description |
---|
ServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static <C> Set<C> |
loadRegisteredServices(Set<C> services,
Class<C> serviceClass,
ClassLoader classLoader)
Loads, but does not initialize, all registered services of type `C` managed by this module container.
|
public static <C> Set<C> loadRegisteredServices(Set<C> services, Class<C> serviceClass, ClassLoader classLoader)
ServiceLoader
.Copyright © 2024. All rights reserved.