containsStereotypedBean

inline fun <T, Q : Annotation> BeanDefinitionRegistry.containsStereotypedBean(): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a containsStereotypedBean<Foo, Bar>() variant.

Return

True if contained

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

Q

The stereotype type


inline fun <T> BeanDefinitionRegistry.containsStereotypedBean(name: String): Boolean

Extension for BeanDefinitionRegistry.containsBean providing a containsStereotypedBean<Foo, Bar>() variant.

Return

True if contained

Author

James Kleeh

Since

3.0.0

Parameters

T

The bean type

name

The stereotype name