class IBatisPlugin {
    private static AgentLogger LOGGER = AgentLogger.getLogger(IBatisPlugin.class);

    @Init
    private Scheduler scheduler;

    @Init
    private ClassLoader appClassLoader;

    private Set<String> configFileSet = new HashSet<>();

    private Command reloadIbatisConfigurationCommand =
            new ReflectionCommand(this, IBatisConfigurationHandler.class.getName(), "refresh");

    @Init
    public void init(PluginConfiguration pluginConfiguration) {
        LOGGER.info("IBatis plugin initialized.");
    }

    public void registConfigFile(String configFiles){<FILL_FUNCTION_BODY>}

    @OnResourceFileEvent(path="/", filter = ".*.xml", events = {FileEvent.MODIFY})
    public void registerResourceListenersModify(URL url) {
        if(configFileSet.contains(url.getPath())) {
            LOGGER.info("IBatis config file changed : {}", url.getPath());
            scheduler.scheduleCommand(reloadIbatisConfigurationCommand, 500);
        }
    }
}

        String[]paths=configFiles.split("\n");
        for(String ph:paths) {
            configFileSet.add(ph);
            LOGGER.debug("IBatis config file registered : {}", ph);
        }
    
<no_super_class>