public final class ServiceLoader extends Object
ServiceLoader
specification,
but changed in the fact of classloaders 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 © 2018 Hazelcast, Inc.. All Rights Reserved.