play.api.inject.guice

GuiceBuilder

abstract class GuiceBuilder[Self] extends AnyRef

A builder for creating Guice-backed Play Injectors.

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

Instance Constructors

  1. new GuiceBuilder(environment: Environment, configuration: Configuration, modules: Seq[GuiceableModule], overrides: Seq[GuiceableModule], disabled: Seq[Class[_]])

    Attributes
    protected

Abstract Value Members

  1. abstract def newBuilder(environment: Environment, configuration: Configuration, modules: Seq[GuiceableModule], overrides: Seq[GuiceableModule], disabled: Seq[Class[_]]): Self

    Create a new Self for this immutable builder.

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

    Attributes
    protected

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. final def bindings(bindModules: GuiceableModule*): Self

    Add Guice modules, Play modules, or Play bindings.

    Add Guice modules, Play modules, or Play bindings.

    See also

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

  6. def clone(): AnyRef

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

    Add additional configuration.

  8. final def configure(conf: Map[String, Any]): Self

    Add additional configuration.

  9. final def configure(conf: Configuration): Self

    Add additional configuration.

  10. final def createInjector(): Injector

    Internal creation of the injector.

    Internal creation of the injector. Separate method in case builders need to add extra configuration to injector before building.

    Attributes
    protected
  11. final def disable[T](implicit tag: ClassTag[T]): Self

    Disable module by class.

  12. final def disable(moduleClasses: Class[_]*): Self

    Disable modules by class.

  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  18. final def in(classLoader: ClassLoader): Self

    Set the environment class loader.

  19. final def in(mode: Mode.Mode): Self

    Set the environment mode.

  20. final def in(path: File): Self

    Set the environment path.

  21. final def in(env: Environment): Self

    Set the environment.

  22. def injector(): Injector

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

  23. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  25. final def notify(): Unit

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

    Definition Classes
    AnyRef
  27. final def overrides(overrideModules: GuiceableModule*): Self

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

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

    See also

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

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

    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped