SmartLifecycle default methods for auto-startup in default phase
Issue: SPR-17188
This commit is contained in:
@@ -207,7 +207,7 @@ public class SchedulerFactoryBean extends SchedulerAccessor implements FactoryBe
|
||||
|
||||
private int startupDelay = 0;
|
||||
|
||||
private int phase = Integer.MAX_VALUE;
|
||||
private int phase = DEFAULT_PHASE;
|
||||
|
||||
private boolean exposeSchedulerInRepository = false;
|
||||
|
||||
@@ -796,12 +796,6 @@ public class SchedulerFactoryBean extends SchedulerAccessor implements FactoryBe
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void stop(Runnable callback) throws SchedulingException {
|
||||
stop();
|
||||
callback.run();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isRunning() throws SchedulingException {
|
||||
if (this.scheduler != null) {
|
||||
|
||||
Reference in New Issue
Block a user