- 所有已实现的接口:
- EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
public class ApplicationReadyListener
extends Object
implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
Description: ApplicationReadyListener,表示应用已经完全启动并处于可用状态,常用于触发某些需要在应用完全启动后执行的操作。
动态获取并打印日志存储的根目录的绝对路径、应用的访问地址以及前端可以请求的日期格式。