public class GuiceStepsFactory extends AbstractStepsFactory
InjectableStepsFactory
that uses a Guice Injector
for the
composition and instantiation of all components that contain JBehave
annotated methods.AbstractStepsFactory.StepsInstanceNotFound
Constructor and Description |
---|
GuiceStepsFactory(Configuration configuration,
com.google.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
Object |
createInstanceOfType(Class<?> type) |
protected List<Class<?>> |
stepsTypes() |
createCandidateSteps, hasAnnotatedMethods
public GuiceStepsFactory(Configuration configuration, com.google.inject.Injector injector)
protected List<Class<?>> stepsTypes()
stepsTypes
in class AbstractStepsFactory
Copyright © 2003-2014. All Rights Reserved.