@Override
protected RequestModuleMapper newRequestModuleMapper(ServletConfig config) {
final ServletContext servletContext = config.getServletContext();
ModuleManagementFacade facade = WebServletUtils.getModuleManagementFacade(servletContext);
if (facade.containsBean("requestModuleMapper")) {
return ObjectUtils.cast(facade.getBean("requestModuleMapper"), RequestModuleMapper.class);
}
return super.newRequestModuleMapper(config);
}