classControllerInjector extends MutableInjectorUser with InjectorWithLifecycle[ControllerInjector] with ShutdownHookLifecycleManager
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
}
Linear Supertypes
ShutdownHookLifecycleManager, LifecycleManager, InjectorWithLifecycle[ControllerInjector], Initializeable[ControllerInjector], Freezable, MutableInjectorUser, MutableInjector, Injector, AnyRef, Any
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: