code: @Override
      public void registerResources(String alias, String name, HttpContext context) throws NamespaceException {
          if (!isNameValid(name)) {
              throw new IllegalArgumentException("Malformed resource name [" + name + "]");
          }
  
          try {
              Servlet servlet = new ResourceServlet(name);
              registerServlet(alias, servlet, null, context);
          } catch (ServletException e) {
              SystemLogger.error("Failed to register resources", e);
          }
      }
docs: {@inheritDoc}