o

play.api.inject

NewInstanceInjector

object NewInstanceInjector extends Injector

An injector that simply creates a new instance of the passed in classes using the classes no-arg constructor.

Source
Injector.scala
Linear Supertypes
Injector, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NewInstanceInjector
  2. Injector
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def asJava: inject.Injector

    Get as an instance of the Java injector.

    Get as an instance of the Java injector.

    Definition Classes
    Injector
  2. 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.

    Definition Classes
    Injector
  3. 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.

    Definition Classes
    Injector
  4. 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.

    Definition Classes
    Injector