org.jbehave.core.steps
Class InstanceStepsFactory

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

public class InstanceStepsFactory
extends AbstractStepsFactory

An InjectableStepsFactory that is provided Object instances.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jbehave.core.steps.AbstractStepsFactory
AbstractStepsFactory.StepsInstanceNotFound
 
Constructor Summary
InstanceStepsFactory(Configuration configuration, List<Object> stepsInstances)
           
InstanceStepsFactory(Configuration configuration, Object... stepsInstances)
           
 
Method Summary
 Object createInstanceOfType(Class<?> type)
           
protected  List<Class<?>> stepsTypes()
           
 
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

InstanceStepsFactory

public InstanceStepsFactory(Configuration configuration,
                            Object... stepsInstances)

InstanceStepsFactory

public InstanceStepsFactory(Configuration configuration,
                            List<Object> stepsInstances)
Method Detail

stepsTypes

protected List<Class<?>> stepsTypes()
Specified by:
stepsTypes in class AbstractStepsFactory

createInstanceOfType

public Object createInstanceOfType(Class<?> type)


Copyright © 2003-2012. All Rights Reserved.