public WOComponent bounceClickedWithRollingBouncer() {
return bounceClickedWithBouncer(new RollingShutdownBouncer(myApplication()));
}
private WOComponent bounceClickedWithBouncer(ApplicationStarter bouncer) {
ApplicationStarter old = currentBouncer();
if (old != null) {
old.interrupt();
}
session().setObjectForKey(bouncer, bouncerName());
bouncer.start();
return newDetailPage();
}