getRequiredService

open fun <S : Any> getRequiredService(serviceType: Class<S>): S
open fun <S : Any> getRequiredService(serviceName: String): S