moduleConfig是ModuleConfig类型,用于保存配置文件.xml中的相关配置及request、context相关信息。例如获取DataSource接口:
protected DataSource getDataSource(HttpServletRequest request, String key) {        // Identify the current module
        ServletContext context = getServlet().getServletContext();
        ModuleConfig moduleConfig = RequestUtils.getModuleConfig(request,context);        // Return the requested data source instance
        return ((DataSource) context.getAttribute(key + moduleConfig.getPrefix()));    }