forInstance

fun forInstance(instance: Any): ServiceProducer

Creates a producer for an already existing service instance.