io.github.makingthematrix.inject

Members list

Type members

Classlikes

object Inject

Here you can set the default module after you created it, and later inject dependencies from it.

Here you can set the default module after you created it, and later inject dependencies from it.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Inject.type
trait Injectable(module: Module)

Enables injecting dependencies with binding in the specified module or the default module if no other is specified.

Enables injecting dependencies with binding in the specified module or the default module if no other is specified.

Attributes

Supertypes
class Object
trait Matchable
class Any
class Module

An extendable class used to create a list of bindings.

An extendable class used to create a list of bindings.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final class NoBindingException(typeName: String, module: Module) extends Exception

An exception thrown by inject methods if no binding for the given type can be found.

An exception thrown by inject methods if no binding for the given type can be found.

Value parameters

module

The specified module

typeName

The name of the type for which there was no binding found

Attributes

Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all