Modifier and Type | Field and Description |
---|---|
play.api.inject.Injector |
injector |
Constructor and Description |
---|
DelegateInjector(play.api.inject.Injector injector) |
Modifier and Type | Method and Description |
---|---|
<T> T |
instanceOf(java.lang.Class<T> clazz)
Get an instance of the given class from the injector.
|
@Inject public DelegateInjector(play.api.inject.Injector injector)
public <T> T instanceOf(java.lang.Class<T> clazz)
Injector
instanceOf
in interface Injector
clazz
- The class to get the instance of