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

    /**
     * Flag to check reload status.
     * In unit test we need to wait for reload finish before the test can continue. Set flag to true
     * in the test class and wait until the flag is false again.
     */
    public static boolean reloadFlag = false;

    public static void reloadConfiguration() {<FILL_FUNCTION_BODY>}
}

        LOGGER.debug("Refreshing MyBatis configuration.");
        ConfigurationProxy.refreshProxiedConfigurations();
        SpringMybatisConfigurationProxy.refreshProxiedConfigurations();
        LOGGER.reload("MyBatis configuration refreshed.");
        reloadFlag = false;
    
<no_super_class>