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
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class PlayConfigurationInjector extends RawInjector

    Play configuration Injector.

    Play configuration Injector.

    Annotations
    @deprecated
    Deprecated

    (Since version 31.01.2015) Use TypesafeConfigInjector instead

Value Members

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

    Play application is started in Dev mode

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

    Play application is started in Prod mode

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

    Play application is started in Test mode

Inherited from AnyRef

Inherited from Any

Ungrouped