📜  spring boot init 方法 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:45.399000             🧑  作者: Mango

代码示例1
@EventListener(ApplicationReadyEvent.class)
public void doSomethingAfterStartup() {
    System.out.println("hello world, I have just started up");
}