Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbehave.core.steps.guice
Class GuiceStepsFactory

    java.lang.Object
      org.jbehave.core.steps.AbstractStepsFactory
          org.jbehave.core.steps.guice.GuiceStepsFactory

All Implemented Interfaces:
  InjectableStepsFactory

    public class GuiceStepsFactory

extends AbstractStepsFactory

An `InjectableStepsFactory` that uses a Guice `Injector` for the composition and instantiation of all components that contain JBehave annotated methods.

Author:
  Cristiano Gavião, Paul Hammant, Mauro Talevi

Nested Class Summary

Nested classes/interfaces inherited from class org.jbehave.core.steps.AbstractStepsFactory
`AbstractStepsFactory.StepsInstanceNotFound`

Constructor Summary
`GuiceStepsFactory(Configuration configuration, com.google.inject.Injector injector)`

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

### GuiceStepsFactory

    public GuiceStepsFactory(Configuration configuration,
                             com.google.inject.Injector injector)

Method Detail

### stepsTypes

    protected List<Class<?>> stepsTypes()

  Specified by:
    `stepsTypes` in class `AbstractStepsFactory`

### createInstanceOfType

    public Object createInstanceOfType(Class<?> type)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2013. All Rights Reserved.