org.jbehave.core.steps.spring
Class SpringStepsFactory

java.lang.Object
  extended by org.jbehave.core.steps.AbstractStepsFactory
      extended by org.jbehave.core.steps.spring.SpringStepsFactory
All Implemented Interfaces:
org.jbehave.core.steps.InjectableStepsFactory

public class SpringStepsFactory
extends org.jbehave.core.steps.AbstractStepsFactory

An InjectableStepsFactory that uses Spring's ApplicationContext for the composition and instantiation of all components that contain JBehave annotated methods.

Author:
Paul Hammant, Mauro Talevi

Constructor Summary
SpringStepsFactory(org.jbehave.core.configuration.Configuration configuration, org.springframework.context.ApplicationContext context)
           
 
Method Summary
protected  List<Object> stepsInstances()
           
 
Methods inherited from class org.jbehave.core.steps.AbstractStepsFactory
createCandidateSteps, hasAnnotatedMethods
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringStepsFactory

public SpringStepsFactory(org.jbehave.core.configuration.Configuration configuration,
                          org.springframework.context.ApplicationContext context)
Method Detail

stepsInstances

protected List<Object> stepsInstances()
Specified by:
stepsInstances in class org.jbehave.core.steps.AbstractStepsFactory


Copyright © 2003-2010. All Rights Reserved.