
Extract functionality from the `RegistrationBean` into a new class designed to work with dynamic registration. Servet and Filter registration beans now extend from `DynaimcRegistrationBean`, where as `ServletListenerRegistrationBean` extends directly from `RegistrationBean`. This refactor allows the removal of `ServletListenerRegistrationBean` deprecated methods. Fixes gh-11344