winter / io.jentz.winter / WinterApplication / InjectionAdapter

InjectionAdapter

interface InjectionAdapter

Adapter interface to provide application specific graph creation and retrieval strategy.

Functions

get

abstract fun get(instance: Any): Graph?

Get dependency graph for instance.

Inheritors

ApplicationGraphOnlyInjectionAdapter

open class ApplicationGraphOnlyInjectionAdapter : WinterApplication.InjectionAdapter

Simple adapter for application with only one dependency graph.