Package io.cucumber.needle
Class NeedleFactory
- java.lang.Object
-
- de.akquinet.jbosscc.needle.NeedleTestcase
-
- io.cucumber.needle.NeedleFactory
-
- All Implemented Interfaces:
Container,Lookup,ObjectFactory
@API(status=STABLE) public final class NeedleFactory extends de.akquinet.jbosscc.needle.NeedleTestcase implements ObjectFactory
Needle factory for object resolution inside of cucumber tests.
-
-
Constructor Summary
Constructors Constructor Description NeedleFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddClass(Class<?> type)<T> TgetInstance(Class<T> type)voidstart()voidstop()
-
-
-
Method Detail
-
getInstance
public <T> T getInstance(Class<T> type)
- Specified by:
getInstancein interfaceLookup
-
start
public void start()
- Specified by:
startin interfaceObjectFactory
-
stop
public void stop()
- Specified by:
stopin interfaceObjectFactory
-
-