public final class ServiceLoader extends Object
ServiceLoader
specification, but changed to the fact of
class loaders to test for given services to work in multi classloader
environments like application or OSGi servers.Modifier and Type | Method and Description |
---|---|
static <T> Iterator<Class<T>> |
classIterator(Class<T> expectedType,
String factoryId,
ClassLoader classLoader) |
static <T> Iterator<T> |
iterator(Class<T> expectedType,
String factoryId,
ClassLoader classLoader) |
static <T> T |
load(Class<T> clazz,
String factoryId,
ClassLoader classLoader) |
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.