GuiceInjector

play.api.inject.guice.GuiceInjector
class GuiceInjector(injector: Injector) extends Injector

Play Injector backed by a Guice Injector.

Attributes

Graph
Supertypes
trait Injector
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def instanceOf[T](implicit ct: ClassTag[T]): T

Get an instance of the given class from the injector.

Get an instance of the given class from the injector.

Attributes

def instanceOf[T](clazz: Class[T]): T

Get an instance of the given class from the injector.

Get an instance of the given class from the injector.

Attributes

def instanceOf[T](key: BindingKey[T]): T

Get an instance bound to the given binding key.

Get an instance bound to the given binding key.

Attributes

Inherited methods

Get as an instance of the Java injector.

Get as an instance of the Java injector.

Attributes

Inherited from:
Injector