Package io.cucumber.guice
Class GuiceFactory
- java.lang.Object
-
- io.cucumber.guice.GuiceFactory
-
- All Implemented Interfaces:
Container,Lookup,ObjectFactory
@API(status=STABLE) public final class GuiceFactory extends Object implements ObjectFactory
Guice implementation of theio.cucumber.core.backend.ObjectFactory.
-
-
Constructor Summary
Constructors Constructor Description GuiceFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddClass(Class<?> clazz)<T> TgetInstance(Class<T> clazz)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> clazz)
- Specified by:
getInstancein interfaceLookup
-
-