Package io.cucumber.cdi2
Class Cdi2Factory
- java.lang.Object
-
- io.cucumber.cdi2.Cdi2Factory
-
- All Implemented Interfaces:
Container,Lookup,ObjectFactory
@API(status=STABLE) public final class Cdi2Factory extends Object implements ObjectFactory
-
-
Constructor Summary
Constructors Constructor Description Cdi2Factory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddClass(Class<?> clazz)<T> TgetInstance(Class<T> type)voidstart()voidstop()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceObjectFactory
-
stop
public void stop()
- Specified by:
stopin interfaceObjectFactory
-
getInstance
public <T> T getInstance(Class<T> type)
- Specified by:
getInstancein interfaceLookup
-
-