public class SpringStepsFactory
extends AbstractStepsFactory
InjectableStepsFactory that uses Spring's
ApplicationContext for the composition and instantiation of all
components that contain JBehave annotated methods.| Constructor and Description |
|---|
SpringStepsFactory(Configuration configuration,
ApplicationContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
createInstanceOfType(Class<?> type) |
protected boolean |
isAllowed(Class<?> type)
Checks if type returned from context is allowed, i.e.
|
protected List<Class<?>> |
stepsTypes() |
public SpringStepsFactory(Configuration configuration,
ApplicationContext context)
protected boolean isAllowed(Class<?> type)
type - the Class of the beantrue if allowedCopyright © 2003–2019. All rights reserved.