05 2021 档案
摘要:实现步骤 自定义需要发布的事件类,需要继承 ApplicationEvent 使用 @EventListener 来监听事件或者实现 ApplicationListener 接口。 使用 ApplicationEventPublisher 来发布自定义事件(@Autowired注入即可) 代码 //
阅读全文
摘要:使用方法: python3 generatorSentinelLog2Html.py sentinelLogFileName 源码 #! /usr/bin/env python # -*- coding: utf-8 -*- import sys def printSentinel(): filen
阅读全文