code: public void visit(final WebApp webApp) {
  		bundleClassLoader = new BundleClassLoader(webApp.getBundle());
  		httpContext = webApp.getHttpContext();
  		// Make sure we stop the context first, so that listeners
  		// can be called correctly before removing ann objects
  		webContainer.begin(httpContext);
  		// unregister war content resources
  		//CHECKSTYLE:OFF
  		try {
  			webContainer.unregister("/");
  		} catch (IllegalArgumentException badarg) {
  			// Ignore, we haven't registered anything
  		} catch (Exception ignore) {
  			LOG.warn("Unregistration exception. Skipping.", ignore);
  		}
  		// unregister welcome files
  		try {
  			webContainer.unregisterWelcomeFiles(webApp.getWelcomeFiles(), httpContext);
  		} catch (IllegalArgumentException badarg) {
  			// Ignore, we haven't registered anything
  		} catch (Exception ignore) {
  			LOG.warn("Unregistration exception. Skipping.", ignore);
  		}
  		// unregister JSP support
  		try {
  			webContainer.unregisterJsps(httpContext);
  		} catch (IllegalArgumentException | UnsupportedOperationException badarg) {
  			// Ignore, we haven't registered anything
  		} catch (Exception ignore) {
  			LOG.warn("Unregistration exception. Skipping.", ignore);
  		}
  		//CHECKSTYLE:ON
  	}
docs: Unregisters resources related to web app.
  
  @see WebAppVisitor#visit(org.ops4j.pax.web.extender.war.internal.model.WebApp)