chore: 删除过期代码

This commit is contained in:
CaptainB 2024-07-19 12:51:24 +08:00 committed by 刘瑞斌
parent f0cf0ec2ad
commit 7c3755157e
1 changed files with 0 additions and 4 deletions

View File

@ -44,8 +44,6 @@ public class AppStartListener implements ApplicationRunner {
LogUtils.info("初始化接口事件源");
ApiEventSource apiEventSource = CommonBeanFactory.getBean(ApiEventSource.class);
LogUtils.info("初始化用例管理事件源");
LogUtils.info("初始化性能测试事件源");
//LoadEventSource loadEventSource = CommonBeanFactory.getBean(LoadEventSource.class);
//todo: 注册其他事件源
// 创建监听器对象并注册到多个事件源
@ -53,11 +51,9 @@ public class AppStartListener implements ApplicationRunner {
apiEventSource.addListener(listener);
//todo: 注册其他监听器
//loadEventSource.addListener(listener);
// 触发事件
apiEventSource.fireEvent("API", "Event after removing the listener test.");
//loadEventSource.fireEvent("LOAD","Event after removing the listener.");
// 加载插件
pluginLoadService.loadPlugins();
}