Package org.jbehave.core.steps.pico
Class PicoStepsFactory
- java.lang.Object
-
- org.jbehave.core.steps.AbstractStepsFactory
-
- org.jbehave.core.steps.pico.PicoStepsFactory
-
- All Implemented Interfaces:
InjectableStepsFactory
public class PicoStepsFactory extends AbstractStepsFactory
AnInjectableStepsFactory
that uses aPicoContainer
for the composition and instantiation of all components that contain JBehave annotated methods.- Author:
- 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 PicoStepsFactory(Configuration configuration, org.picocontainer.PicoContainer parent)
-
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
-
PicoStepsFactory
public PicoStepsFactory(Configuration configuration, org.picocontainer.PicoContainer parent)
-
-
Method Detail
-
stepsTypes
protected List<Class<?>> stepsTypes()
- Specified by:
stepsTypes
in classAbstractStepsFactory
-
-