inject

fun inject(targetObject: Any, context: Any)

Performs the dependency injection for the given target object.

Parameters

targetObject

the target object

context

the context information; the caller of this method has to know which kind of context is needed (it depends on the needs of the injectors that have been registered by the caller)