SmartLifecycle default methods for auto-startup in default phase

Issue: SPR-17188
This commit is contained in:
Juergen Hoeller
2018-08-16 12:08:02 +02:00
parent 446a604ad0
commit 2ec8fa9cac
15 changed files with 97 additions and 144 deletions

View File

@@ -268,16 +268,6 @@ public class SimpAnnotationMethodMessageHandler extends AbstractMethodMessageHan
}
@Override
public boolean isAutoStartup() {
return true;
}
@Override
public int getPhase() {
return Integer.MAX_VALUE;
}
@Override
public final void start() {
synchronized (this.lifecycleMonitor) {

View File

@@ -173,11 +173,6 @@ public abstract class AbstractBrokerMessageHandler
return this.autoStartup;
}
@Override
public int getPhase() {
return Integer.MAX_VALUE;
}
@Override
public void start() {

View File

@@ -147,16 +147,6 @@ public class UserDestinationMessageHandler implements MessageHandler, SmartLifec
}
@Override
public int getPhase() {
return Integer.MAX_VALUE;
}
@Override
public boolean isAutoStartup() {
return true;
}
@Override
public final void start() {
synchronized (this.lifecycleMonitor) {