ServiceProvider

ServiceProvider .

Author

ahoo wang

Inheritors

Properties

Link copied to clipboard
abstract val serviceNames: Set<String>

Functions

Link copied to clipboard
abstract fun copy(): ServiceProvider
Link copied to clipboard
abstract fun copyTo(target: ServiceProvider)
Link copied to clipboard
Link copied to clipboard
abstract fun <S : Any> getService(serviceName: String): S?
abstract fun <S : Any> getService(serviceType: KType): S?
Link copied to clipboard
inline fun <S : Any> ServiceProvider.getService(): S?
Link copied to clipboard
abstract fun register(service: Any, serviceName: String = service.javaClass.toName(), serviceType: KType = service.javaClass.kotlin.defaultType)
Link copied to clipboard
inline fun <S : Any> ServiceProvider.register(service: Any, serviceName: String = service.javaClass.toName())