Packages

  • package root
    Definition Classes
    root
  • package scaldi
    Definition Classes
    root
  • package play
    Definition Classes
    scaldi
  • package condition

    Provides some Play-specific conditions that can be used in the mappings:

    Provides some Play-specific conditions that can be used in the mappings:

    bind [MessageService] when (inDevMode or inTestMode) to new SimpleMessageService
    bind [MessageService] when inProdMode to new OfficialMessageService
    

    Definition Classes
    play
  • ModeCondition
p

scaldi.play

condition

package condition

Provides some Play-specific conditions that can be used in the mappings:

bind [MessageService] when (inDevMode or inTestMode) to new SimpleMessageService
bind [MessageService] when inProdMode to new OfficialMessageService

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. condition
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class ModeCondition(mode: Mode)(implicit inj: Injector) extends Condition with Product with Serializable

Value Members

  1. def inDevMode(implicit inj: Injector): ModeCondition

    Play application is started in Dev mode

  2. def inProdMode(implicit inj: Injector): ModeCondition

    Play application is started in Prod mode

  3. def inTestMode(implicit inj: Injector): ModeCondition

    Play application is started in Test mode

Inherited from AnyRef

Inherited from Any

Ungrouped