类 RestartApplicationListener

  • 所有已实现的接口:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.core.Ordered

    public class RestartApplicationListener
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>, org.springframework.core.Ordered
    ApplicationListener to initialize the Restarter.
    从以下版本开始:
    1.3.0
    另请参阅:
    Restarter
    • 方法详细资料

      • onApplicationEvent

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

        public int getOrder()
        指定者:
        getOrder 在接口中 org.springframework.core.Ordered
      • setOrder

        public void setOrder​(int order)
        Set the order of the listener.
        参数:
        order - the order of the listener