Describe the bug with 2.2.1.RELEASE Hoxton.SR6

If a Bean has the @RereshScope annotation and implements the SmartLife interface, the SmartLife interface lifecycle method will not be invoked after the Spring container is started

Sample

Bean: @Slf4j @Component @RefreshScope public class NectorInvoker implements SmartLifecycle

start method: @Override public void start() { if (this.running.compareAndSet(false, true)) { nectorClient.start(); } }

As mentioned above, the start method will not be called

Comment From: spencergibb

Duplicates https://github.com/spring-cloud/spring-cloud-commons/issues/848