@Override
    public void handlerPlugin(final PluginData pluginData) {
        if (Objects.nonNull(pluginData) && Boolean.TRUE.equals(pluginData.getEnabled())) {
            TarsRegisterConfig tarsRegisterConfig = GsonUtils.getInstance().fromJson(pluginData.getConfig(), TarsRegisterConfig.class);
            TarsRegisterConfig exist = Singleton.INST.get(TarsRegisterConfig.class);
            if (Objects.isNull(tarsRegisterConfig)) {
                return;
            }
            if (Objects.isNull(exist) || !tarsRegisterConfig.equals(exist)) {
                // If it is null, cache it
                ApplicationConfigCache.getInstance().init(tarsRegisterConfig);
            }
            Singleton.INST.single(TarsRegisterConfig.class, tarsRegisterConfig);
        }
    }
The type tars plugin data handler.
shenyu-plugin/shenyu-plugin-proxy/shenyu-plugin-rpc/shenyu-plugin-tars/src/main/java/org/apache/shenyu/plugin/tars/handler/TarsPluginDataHandler.java