Package

scaldi

play

Permalink

package play

Visibility
  1. Public
  2. All

Type Members

  1. class BuiltinScaldiModule extends Module

    Permalink
  2. trait CanBeScaldiInjector extends AnyRef

    Permalink
  3. class ControllerComponentsModule extends Module

    Permalink

    Created by dsarosi on 30/6/2017.

  4. class ControllerInjector extends MutableInjectorUser with InjectorWithLifecycle[ControllerInjector] with ShutdownHookLifecycleManager

    Permalink

    Injector for the Play applications that creates controller bindings on the fly.

    Injector for the Play applications that creates controller bindings on the fly. The preferred way to use it is by adding it to the module composition at the very end, so that it would be possible to override default instantiation strategy in user-defined modules.

    Here is an example:

    object Global extends GlobalSettings with ScaldiSupport {
      def applicationModule = new UserModule :: new DbModule :: new ControllerInjector
    }
    

  5. class FakeRouter extends Router

    Permalink
  6. class FakeRouterModule extends Module

    Permalink
  7. final class ScaldiApplicationBuilder extends ScaldiBuilder[ScaldiApplicationBuilder]

    Permalink

    A builder for creating Applications using Scaldi.

  8. class ScaldiApplicationLoader extends ApplicationLoader

    Permalink
  9. abstract class ScaldiBuilder[Self] extends AnyRef

    Permalink
  10. class ScaldiInjector extends play.api.inject.Injector

    Permalink
  11. final class ScaldiInjectorBuilder extends ScaldiBuilder[ScaldiInjectorBuilder]

    Permalink

    Default empty builder for creating Scaldi-backed Injectors.

Value Members

  1. object CanBeScaldiInjector

    Permalink
  2. object FakeRouterModule

    Permalink
  3. object ScaldiApplicationBuilder

    Permalink
  4. object ScaldiBuilder extends Injectable

    Permalink
  5. package condition

    Permalink

    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
    

Ungrouped