Package io.cucumber.core.runtime
Class ObjectFactoryServiceLoader
java.lang.Object
io.cucumber.core.runtime.ObjectFactoryServiceLoader
Loads an instance of
ObjectFactory using the ServiceLoader
mechanism.
Will load an instance of the class provided by
Options.getObjectFactoryClass(). If
Options.getObjectFactoryClass() does not provide a class and there is
exactly one ObjectFactory instance available that instance will be
used.
Otherwise DefaultObjectFactory with no dependency injection
-
Constructor Summary
ConstructorsConstructorDescriptionObjectFactoryServiceLoader(Supplier<ClassLoader> classLoaderSupplier, Options options) -
Method Summary
-
Constructor Details
-
ObjectFactoryServiceLoader
-