Class SpecHelper.DynamicBuilder

java.lang.Object
org.javalite.activeweb.SpecHelper.DynamicBuilder
Enclosing class:
SpecHelper

protected class SpecHelper.DynamicBuilder extends Object
  • Constructor Details

    • DynamicBuilder

      protected DynamicBuilder()
  • Method Details

    • bind

      public SpecHelper.DynamicBuilder bind(Class interfaceClass)
      Parameters:
      interfaceClass - class of an interface for Guice injector
    • to

      public SpecHelper.DynamicBuilder to(Class implementationClass)
      This method is optional. If omitted, the class provided for the interface to bind(Class) method will be used as implementation as well.
      Parameters:
      implementationClass - implementation of an interface for Guice injector
    • create

      public com.google.inject.Injector create()