code: public static UrlMappingsHolder lookupUrlMappings(ServletContext servletContext) {
          WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationContext(servletContext);
          return (UrlMappingsHolder)wac.getBean(UrlMappingsHolder.BEAN_ID);
      }
docs: Looks up the UrlMappingsHolder instance
  
  @return The UrlMappingsHolder
  @param servletContext The ServletContext object