org.jbehave.core.steps.pico
Class PicoStepsFactory

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

public class PicoStepsFactory
extends AbstractStepsFactory

An InjectableStepsFactory that uses a PicoContainer for the composition and instantiation of all components that contain JBehave annotated methods.

Author:
Paul Hammant, Mauro Talevi

Constructor Summary
PicoStepsFactory(Configuration configuration, org.picocontainer.PicoContainer parent)
           
 
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

PicoStepsFactory

public PicoStepsFactory(Configuration configuration,
                        org.picocontainer.PicoContainer parent)
Method Detail

stepsInstances

protected List<Object> stepsInstances()
Specified by:
stepsInstances in class AbstractStepsFactory


Copyright © 2003-2010. All Rights Reserved.