|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbehave.core.steps.AbstractStepsFactory
org.jbehave.core.steps.spring.SpringStepsFactory
public class SpringStepsFactory
An InjectableStepsFactory that uses Spring's
ApplicationContext for the composition and instantiation of all
components that contain JBehave annotated methods.
| Constructor Summary | |
|---|---|
SpringStepsFactory(Configuration configuration,
org.springframework.context.ApplicationContext context)
|
|
| Method Summary | |
|---|---|
protected boolean |
isAllowed(java.lang.Class<?> type)
Checks if type returned from context is allowed, i.e. |
protected java.util.List<java.lang.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 |
|---|
public SpringStepsFactory(Configuration configuration,
org.springframework.context.ApplicationContext context)
| Method Detail |
|---|
protected java.util.List<java.lang.Object> stepsInstances()
stepsInstances in class AbstractStepsFactoryprotected boolean isAllowed(java.lang.Class<?> type)
type - the Class of the bean
true if allowed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||