org.jbehave.core.steps.weld
Class WeldStepsFactory

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

@Singleton
public class WeldStepsFactory
extends AbstractStepsFactory

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

Author:
Aaron Walker

Constructor Summary
WeldStepsFactory(Configuration configuration)
           
 
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

WeldStepsFactory

@Inject
public WeldStepsFactory(Configuration configuration)
Method Detail

stepsInstances

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


Copyright © 2003-2011. All Rights Reserved.