onRestart method
Stops the pauseable beans if they are still running, then starts the
auto-startup beans again; called by the context's restart()
(Spring 7's onRestart()).
Implementation
@override
void onRestart() {
if (_running) {
_stopBeans(pauseableOnly: true);
}
_startBeans(autoStartupOnly: true);
_running = true;
}