Package io.cucumber.core.backend
Interface Lookup
-
- All Known Subinterfaces:
ObjectFactory
- All Known Implementing Classes:
DefaultObjectFactory
@API(status=STABLE) public interface Lookup
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getInstance(Class<T> glueClass)
Provides an instance of a glue class.
-
-
-
Method Detail
-
getInstance
<T> T getInstance(Class<T> glueClass)
Provides an instance of a glue class.- Type Parameters:
T
- type of Glue class- Parameters:
glueClass
- type of instance to be created.- Returns:
- new instance of type T
-
-