Eureka主要用到了以下方式
1、spring boot application的相应机制,比如spi自动装载配置类 EurekaServerAutoConfiguration ,EurekaClientAutoConfiguration
2、spring生命周期内,最后一步,org.springframework.context.support.AbstractApplicationContext#finishRefresh,调用org.springframework.context.Lifecycle#start
3、定时任务( Schedule和Timer )