Package io.cucumber.picocontainer
Class PicoFactory
- java.lang.Object
-
- io.cucumber.picocontainer.PicoFactory
-
- All Implemented Interfaces:
Container
,Lookup
,ObjectFactory
@API(status=STABLE) public final class PicoFactory extends Object implements ObjectFactory
-
-
Constructor Summary
Constructors Constructor Description PicoFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addClass(Class<?> clazz)
<T> T
getInstance(Class<T> type)
void
start()
void
stop()
-
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceObjectFactory
-
stop
public void stop()
- Specified by:
stop
in interfaceObjectFactory
-
getInstance
public <T> T getInstance(Class<T> type)
- Specified by:
getInstance
in interfaceLookup
-
-