android-beans / rocks.frieler.android.beans / BeanRegistry / lookUpBeans

lookUpBeans

fun <T : Any> lookUpBeans(type: KClass<T>): List<T>

Overrides BeansProvider.lookUpBeans

Looks up all beans of the given type in the BeanRegistry of this application.

Parameters

type - the type of the desired beans

Parameters

Return
the beans of the given type or an empty list