Injector

class Injector(applicationContext: <Error class: unknown class>)

Spring-inject entities if they have an @Configurable annotation. Can be put on any entity without efficiency concerns.

Constructors

Link copied to clipboard
constructor(applicationContext: <Error class: unknown class>)

Functions

Link copied to clipboard
fun inject(target: Any?)

Inject the given object if it is non null and annotated with @Configurable.