play.api.inject.guice

GuiceInjectorBuilder

Related Doc: package guice

final class GuiceInjectorBuilder extends GuiceBuilder[GuiceInjectorBuilder]

Default empty builder for creating Guice-backed Injectors.

Source
GuiceInjectorBuilder.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GuiceInjectorBuilder
  2. GuiceBuilder
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GuiceInjectorBuilder()

  2. new GuiceInjectorBuilder(environment: Environment = Environment.simple(), configuration: Configuration = Configuration.empty, modules: Seq[GuiceableModule] = Seq.empty, overrides: Seq[GuiceableModule] = Seq.empty, disabled: Seq[Class[_]] = Seq.empty)

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. def applicationModule(): com.google.inject.Module

    Create a Play Injector backed by Guice using this configured builder.

    Create a Play Injector backed by Guice using this configured builder.

    Definition Classes
    GuiceBuilder
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. final def bindings(bindModules: GuiceableModule*): GuiceInjectorBuilder

    Add Guice modules, Play modules, or Play bindings.

    Add Guice modules, Play modules, or Play bindings.

    Definition Classes
    GuiceBuilder
    See also

    GuiceableModuleConversions for the automatically available implicit conversions to GuiceableModule from modules and bindings.

  7. def build(): Injector

    Create a Play Injector backed by Guice using this configured builder.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def configure(conf: (String, Any)*): GuiceInjectorBuilder

    Add additional configuration.

    Add additional configuration.

    Definition Classes
    GuiceBuilder
  10. final def configure(conf: Map[String, Any]): GuiceInjectorBuilder

    Add additional configuration.

    Add additional configuration.

    Definition Classes
    GuiceBuilder
  11. final def configure(conf: Configuration): GuiceInjectorBuilder

    Add additional configuration.

    Add additional configuration.

    Definition Classes
    GuiceBuilder
  12. def createModule(): com.google.inject.Module

    Creation of the Guice Module used by the injector.

    Creation of the Guice Module used by the injector. Libraries like Guiceberry and Jukito that want to handle injector creation may find this helpful.

    Definition Classes
    GuiceBuilder
  13. final def disable[T](implicit tag: ClassTag[T]): GuiceInjectorBuilder

    Disable module by class.

    Disable module by class.

    Definition Classes
    GuiceBuilder
  14. final def disable(moduleClasses: Class[_]*): GuiceInjectorBuilder

    Disable modules by class.

    Disable modules by class.

    Definition Classes
    GuiceBuilder
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  20. final def in(classLoader: ClassLoader): GuiceInjectorBuilder

    Set the environment class loader.

    Set the environment class loader.

    Definition Classes
    GuiceBuilder
  21. final def in(mode: Mode.Mode): GuiceInjectorBuilder

    Set the environment mode.

    Set the environment mode.

    Definition Classes
    GuiceBuilder
  22. final def in(path: File): GuiceInjectorBuilder

    Set the environment path.

    Set the environment path.

    Definition Classes
    GuiceBuilder
  23. final def in(env: Environment): GuiceInjectorBuilder

    Set the environment.

    Set the environment.

    Definition Classes
    GuiceBuilder
  24. def injector(): Injector

    Create a Play Injector backed by Guice using this configured builder.

    Create a Play Injector backed by Guice using this configured builder.

    Definition Classes
    GuiceBuilder
  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. def newBuilder(environment: Environment, configuration: Configuration, modules: Seq[GuiceableModule], overrides: Seq[GuiceableModule], disabled: Seq[Class[_]]): GuiceInjectorBuilder

    Create a new Self for this immutable builder.

    Create a new Self for this immutable builder. Provided by builder implementations.

    Attributes
    protected
    Definition Classes
    GuiceInjectorBuilderGuiceBuilder
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. final def overrides(overrideModules: GuiceableModule*): GuiceInjectorBuilder

    Override bindings using Guice modules, Play modules, or Play bindings.

    Override bindings using Guice modules, Play modules, or Play bindings.

    Definition Classes
    GuiceBuilder
    See also

    GuiceableModuleConversions for the automatically available implicit conversions to GuiceableModule from modules and bindings.

  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped