abstract fun <T : Any> postProcessBean(name: String, bean: T): T
Allows to post-process beans of a BeanRegistry.
The bean can be changed or even replaced, but must have the same type.
bean - the bean to post-process
Parameters
Return
the post-processed bean, either the original or a replacement