org.jbehave.core.steps
Class InstanceStepsFactory

java.lang.Object
  extended by org.jbehave.core.steps.InstanceStepsFactory
All Implemented Interfaces:
InjectableStepsFactory

public class InstanceStepsFactory
extends java.lang.Object
implements InjectableStepsFactory

An InjectableStepsFactory that is provided Object instances, which contain the candidate steps methods. The Object instances are wrapped by Steps. The use of this factory allows steps classes to not have to extend Steps.


Constructor Summary
InstanceStepsFactory(Configuration configuration, java.lang.Object... stepsInstances)
           
 
Method Summary
 java.util.List<CandidateSteps> createCandidateSteps()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstanceStepsFactory

public InstanceStepsFactory(Configuration configuration,
                            java.lang.Object... stepsInstances)
Method Detail

createCandidateSteps

public java.util.List<CandidateSteps> createCandidateSteps()
Specified by:
createCandidateSteps in interface InjectableStepsFactory


Copyright © 2003-2010. All Rights Reserved.