trait Injecting extends AnyRef
Ordering
- Alphabetic
- By Inheritance
Inherited
- Injecting
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def inject[T](implicit arg0: ClassTag[T]): T
Given an application, provides an instance from the application.
Given an application, provides an instance from the application.
- T
the type to return, using
app.injector.instanceOf
- returns
an instance of type T.
A trait declared on a class that contains an
def app: Application
, and can provide instances of a class. Useful in integration tests.