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
Ordering
Alphabetic
By inheritance
Inherited
ControllerInjector
ShutdownHookLifecycleManager
LifecycleManager
InjectorWithLifecycle
Initializeable
Freezable
MutableInjectorUser
MutableInjector
Injector
AnyRef
Any
Hide All
Show all
Visibility
Public
All
Instance Constructors
newControllerInjector()
Value Members
final def!=(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final def##(): Int
Definition Classes
AnyRef → Any
def++[I <: Injector, R <: Injector](other: I)(implicit comp: CanCompose[ControllerInjector.this.type, I, R]): R
Definition Classes
Injector
def::[I <: Injector, R <: Injector](other: I)(implicit comp: CanCompose[I, ControllerInjector.this.type, R]): R
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: