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

@@ -159,7 +159,7 @@ public class GenericMessageEndpointManager implements SmartLifecycle, Initializi
private boolean autoStartup = true;
private int phase = Integer.MAX_VALUE;
private int phase = DEFAULT_PHASE;
private volatile boolean running = false;