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
An InjectableStepsFactory that uses a Guice Injector for the composition and instantiation of all components that contain JBehave annotated methods.
Author:
Cristiano GaviĆ£o, Paul Hammant, Mauro Talevi
  • Constructor Details

    • GuiceStepsFactory

      public GuiceStepsFactory(Configuration configuration, com.google.inject.Injector injector)
  • Method Details