code: public static ApplicationContext registerAppContext(String embeddedWebContext, ApplicationContext appContext) {
          return appContextMap.put(embeddedWebContext, appContext);
      }
docs: Registers the specified embedded web context.
  
  @return the previously-registered {@link ApplicationContext} or null if nothing previously-registered