类 DiscoveryServiceAutoConfiguration

  • 所有已实现的接口:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>

    @Configuration
    @Import(DiscoveryServiceProperties.class)
    public class DiscoveryServiceAutoConfiguration
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
    • 构造器详细资料

      • DiscoveryServiceAutoConfiguration

        public DiscoveryServiceAutoConfiguration()
    • 方法详细资料

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.web.context.WebServerInitializedEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
      • stop

        @PreDestroy
        public void stop()