class SensitiveWordsLoader implements ApplicationRunner {

    @Autowired
    private Cache<List<String>> cache;

    /**
     * 程序启动时，获取最新的需要过滤的敏感词
     * <p>
     * 这里即便缓存中为空也没关系，定时任务会定时重新加载敏感词
     *
     * @param args 启动参数
     */
    @Override
    public void run(ApplicationArguments args) {<FILL_FUNCTION_BODY>}

}

        List<String> sensitives = cache.get(CachePrefix.SENSITIVE.getPrefix());
        log.info("系统初始化敏感词");
        if (sensitives == null || sensitives.isEmpty()) {
            return;
        }
        SensitiveWordsFilter.init(sensitives);
    
<no_super_class>