class JavastackListener implements ApplicationListener<AvailabilityChangeEvent> {

    @Override
    public void onApplicationEvent(AvailabilityChangeEvent event) {<FILL_FUNCTION_BODY>}

}

        log.info("监听到事件：" + event);
        if (ReadinessState.ACCEPTING_TRAFFIC == event.getState()) {
            log.info("应用启动完成，可以请求了……");
        }
    
<no_super_class>