registerNotStereotypedSingleton

inline fun <T : Any> BeanDefinitionRegistry.registerNotStereotypedSingleton(singleton: T): BeanDefinitionRegistry

Extension for BeanDefinitionRegistry.registerSingleton providing a registerNotStereotypedSingleton<Foo>(singleton) variant.

Return

The BeanDefinitionRegistry

Author

Alejandro Gomez

Since

1.0.0

Parameters

T

The bean type

singleton

The singleton bean