Home / cs-notes / Architecture / Components / Netty / Java / ServiceLoader / load
@CallerSensitive
public static <S> ServiceLoader<S> load(Class<S> service,
ClassLoader loader)
{
return new ServiceLoader<>(Reflection.getCallerClass(), service, loader);
}