类 ServiceListenerConfig

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

    @Component
    public class ServiceListenerConfig
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationStartedEvent>
    • 构造器详细资料

      • ServiceListenerConfig

        public ServiceListenerConfig()
    • 方法详细资料

      • onApplicationEvent

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