play.api.inject.guice

GuiceApplicationBuilder

final class GuiceApplicationBuilder extends GuiceBuilder[GuiceApplicationBuilder]

A builder for creating Applications using Guice.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GuiceApplicationBuilder
  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 GuiceApplicationBuilder()

  2. new GuiceApplicationBuilder(environment: Environment = ..., configuration: Configuration = play.api.Configuration.empty, modules: Seq[GuiceableModule] = collection.this.Seq.empty[Nothing], overrides: Seq[GuiceableModule] = collection.this.Seq.empty[Nothing], disabled: Seq[Class[_]] = collection.this.Seq.empty[Nothing], loadConfiguration: (Environment) ⇒ Configuration = ..., global: Option[GlobalSettings] = scala.None, loadModules: (Environment, Configuration) ⇒ Seq[GuiceableModule] = ...)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. final def bindings(bindModules: GuiceableModule*): GuiceApplicationBuilder

    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.

  8. def build(): Application

    Create a new Play Application using this configured builder.

  9. def clone(): AnyRef

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

    Add additional configuration.

    Add additional configuration.

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

    Add additional configuration.

    Add additional configuration.

    Definition Classes
    GuiceBuilder
  12. final def configure(conf: Configuration): GuiceApplicationBuilder

    Add additional configuration.

    Add additional configuration.

    Definition Classes
    GuiceBuilder
  13. 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
    Definition Classes
    GuiceBuilder
  14. final def disable[T](implicit tag: ClassTag[T]): GuiceApplicationBuilder

    Disable module by class.

    Disable module by class.

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

    Disable modules by class.

    Disable modules by class.

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

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

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

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

    Definition Classes
    AnyRef → Any
  20. def global(globalSettings: GlobalSettings): GuiceApplicationBuilder

    Set the global settings object.

    Set the global settings object. Overrides the default or any previously configured values.

  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def in(classLoader: ClassLoader): GuiceApplicationBuilder

    Set the environment class loader.

    Set the environment class loader.

    Definition Classes
    GuiceBuilder
  23. final def in(mode: Mode.Mode): GuiceApplicationBuilder

    Set the environment mode.

    Set the environment mode.

    Definition Classes
    GuiceBuilder
  24. final def in(path: File): GuiceApplicationBuilder

    Set the environment path.

    Set the environment path.

    Definition Classes
    GuiceBuilder
  25. final def in(env: Environment): GuiceApplicationBuilder

    Set the environment.

    Set the environment.

    Definition Classes
    GuiceBuilder
  26. def injector(): Injector

    Create a new Play Injector for an Application using this configured builder.

    Create a new Play Injector for an Application using this configured builder.

    Definition Classes
    GuiceApplicationBuilderGuiceBuilder
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def load(modules: GuiceableModule*): GuiceApplicationBuilder

    Override the module loader with the given modules.

  29. def load(loader: (Environment, Configuration) ⇒ Seq[GuiceableModule]): GuiceApplicationBuilder

    Set the module loader.

    Set the module loader. Overrides the default or any previously configured values.

  30. def loadConfig(conf: Configuration): GuiceApplicationBuilder

    Set the initial configuration.

    Set the initial configuration. Overrides the default or any previously configured values.

  31. def loadConfig(loader: (Environment) ⇒ Configuration): GuiceApplicationBuilder

    Set the initial configuration loader.

    Set the initial configuration loader. Overrides the default or any previously configured values.

  32. final def ne(arg0: AnyRef): Boolean

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

    Implementation of Self creation for GuiceBuilder.

    Implementation of Self creation for GuiceBuilder.

    Attributes
    protected
    Definition Classes
    GuiceApplicationBuilderGuiceBuilder
  34. final def notify(): Unit

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

    Definition Classes
    AnyRef
  36. final def overrides(overrideModules: GuiceableModule*): GuiceApplicationBuilder

    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.

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

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped