interface Adapter
Adapter interface to provide application specific graph creation and retrieval strategy.
abstract fun createGraph(instance: Any, block: ComponentBuilderBlock?): Graph
Create dependency graph for instance. |
|
abstract fun disposeGraph(instance: Any): Unit
Dispose the dependency graph of the given instance. |
|
abstract fun getGraph(instance: Any): Graph
Get dependency graph for instance. |
class ApplicationGraphOnlyAdapter : WinterInjection.Adapter
Simple adapter for application with only one dependency graph. |