Package | Description |
---|---|
org.apache.flink.tests.util.util |
Modifier and Type | Method and Description |
---|---|
static <R,F> R |
FactoryUtils.loadAndInvokeFactory(Class<F> factoryInterface,
FactoryUtils.FactoryInvoker<F,R> factoryInvoker,
java.util.function.Supplier<F> defaultProvider)
Loads all factories for the given class using the
ServiceLoader and attempts to
create an instance. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.