package com.sz.admin.monitor.listener.event;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.event.ContextRefreshedEvent;
import org.springframework.context.event.EventListener;
import org.springframework.stereotype.Service;

/**
 * ClassName: ApplicationEventListener
 * Package: com.sz.admin.monitor.listener.event
 * Description:
 */
//@Slf4j
//@Service
public class ApplicationEventListener {
    /**
     * 根容器初始化完成，
     *
     * @param event
     */
    // 监听ApplicationContext 初始化完成后的事件
  //  @EventListener
    public void onApplicationEvent(ContextRefreshedEvent event) {
        //log.info("执行相关的操作");
    }
}
