play.api.inject.guice

GuiceApplicationLoader

class GuiceApplicationLoader extends ApplicationLoader

An ApplicationLoader that uses guice to bootstrap the application.

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

Instance Constructors

  1. new GuiceApplicationLoader()

  2. new GuiceApplicationLoader(additionalModules: com.google.inject.Module*)

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. val additionalModules: com.google.inject.Module*

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def createInjector(env: Environment, conf: Configuration, modules: Seq[Any]): Some[Injector]

    Create an injector for runtime DI.

    Create an injector for runtime DI.

    This can be used by runtime DI providers to provide an injector during testing. The injector should contain all the components specified by the modules, and should also bind itself.

    If this method is not implemented, FakeApplication will use a NewInstanceInjector instead.

    Definition Classes
    GuiceApplicationLoaderApplicationLoader
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  12. def guicify(env: Environment, conf: Configuration, module: Any): com.google.inject.Module

    Attempt to convert a module of unknown type to a Guice module

    Attempt to convert a module of unknown type to a Guice module

    Attributes
    protected
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def load(context: Context): Application

    Load an application given the context.

    Load an application given the context.

    Definition Classes
    GuiceApplicationLoaderApplicationLoader
  16. def loadModules(env: Environment, conf: Configuration): Seq[com.google.inject.Module]

    Load the modules from the environment and configuration.

    Load the modules from the environment and configuration.

    By default this uses Modules.locate to find modules in play.modules files, and adds additionalModules.

    Override this method if you want to disable the autoloading functionality and manually install all Guice modules, including those provided by Play and third-party libraries.

    returns

    a Seq[com.google.inject.Module], containing Guice modules to be loaded

    Attributes
    protected
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ApplicationLoader

Inherited from AnyRef

Inherited from Any

Ungrouped