Package org.jbehave.core.steps.guice
Class GuiceStepsFactory
- java.lang.Object
-
- org.jbehave.core.steps.AbstractStepsFactory
-
- org.jbehave.core.steps.guice.GuiceStepsFactory
-
- All Implemented Interfaces:
InjectableStepsFactory
public class GuiceStepsFactory extends AbstractStepsFactory
AnInjectableStepsFactory
that uses a GuiceInjector
for the composition and instantiation of all components that contain JBehave annotated methods.- Author:
- Cristiano GaviĆ£o, Paul Hammant, Mauro Talevi
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jbehave.core.steps.AbstractStepsFactory
AbstractStepsFactory.StepsInstanceNotFound
-
-
Constructor Summary
Constructors Constructor Description GuiceStepsFactory(Configuration configuration, com.google.inject.Injector injector)
-
Method Summary
Modifier and Type Method Description Object
createInstanceOfType(Class<?> type)
protected List<Class<?>>
stepsTypes()
-
Methods inherited from class org.jbehave.core.steps.AbstractStepsFactory
createCandidateSteps, hasAnnotatedMethods
-
-
-
-
Constructor Detail
-
GuiceStepsFactory
public GuiceStepsFactory(Configuration configuration, com.google.inject.Injector injector)
-
-
Method Detail
-
stepsTypes
protected List<Class<?>> stepsTypes()
- Specified by:
stepsTypes
in classAbstractStepsFactory
-
-