All Downloads are FREE. Search and download functionalities are using the official Maven repository.

bson.BSONCodecProvider.kt Maven / Gradle / Ivy

There is a newer version: 0.9.27
Show newest version
package com.github.fluidsonic.baku

import kotlin.reflect.KClass


interface BSONCodecProvider {

	fun  codecForClass(valueClass: KClass): BSONCodec?


	companion object {

		fun  of(
			vararg providers: BSONCodecProvider
		) =
			of(providers.asIterable())


		fun  of(
			providers: Iterable>
		): BSONCodecProvider =
			StandardBSONCodecProvider(providers = providers)
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy