Package org.jbehave.core.steps.weld
Class WeldStepsFactory
- java.lang.Object
-
- org.jbehave.core.steps.AbstractStepsFactory
-
- org.jbehave.core.steps.weld.WeldStepsFactory
-
- All Implemented Interfaces:
InjectableStepsFactory
@Singleton public class WeldStepsFactory extends AbstractStepsFactory
AnInjectableStepsFactory
that uses a WeldInject
for the composition and instantiation of all components that contain JBehave annotated methods.- Author:
- Aaron Walker
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jbehave.core.steps.AbstractStepsFactory
AbstractStepsFactory.StepsInstanceNotFound
-
-
Constructor Summary
Constructors Constructor Description WeldStepsFactory(Configuration configuration)
-
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
-
WeldStepsFactory
@Inject public WeldStepsFactory(Configuration configuration)
-
-
Method Detail
-
stepsTypes
protected List<Class<?>> stepsTypes()
- Specified by:
stepsTypes
in classAbstractStepsFactory
-
-