contains

operator fun BeanDefinitionRegistry.contains(t: KClass<out Any>): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a Foo::class in registry variant.

Return

True if contained

Author

Alejandro Gomez

Since

1.0.0

Parameters

t

The bean type


inline operator fun <T : Any, Q : Annotation> BeanDefinitionRegistry.contains(t: Pair<KClass<T>, KClass<Q>>): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a (Foo::class to Prototype::class) in registry variant.

Return

True if contained

Author

Alejandro Gomez

Since

1.0.0

Parameters

t

The pair containing the bean type and the stereotype type