org.ooverkommelig.jvmreflect.JvmReflectObjectGraphConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ooverkommelig-jvm-reflect Show documentation
Show all versions of ooverkommelig-jvm-reflect Show documentation
Manageable dependency injection for Kotlin.
package org.ooverkommelig.jvmreflect
import org.ooverkommelig.NoOperationObjectGraphLogger
import org.ooverkommelig.ObjectGraphConfiguration
import org.ooverkommelig.ObjectGraphLogger
import org.ooverkommelig.ObjectPostProcessor
import org.ooverkommelig.jvmreflect.aspects.JvmReflectAspectInvocationHandlerFactory
import org.ooverkommelig.jvmreflect.retrievabledefinitions.JvmReflectRetrievableDefinitionsFactory
fun jvmReflectObjectGraphConfiguration(logger: ObjectGraphLogger = NoOperationObjectGraphLogger, objectPostProcessors: Collection = emptyList()) =
ObjectGraphConfiguration(logger, objectPostProcessors, JvmReflectAspectInvocationHandlerFactory, JvmReflectRetrievableDefinitionsFactory)