java.lang.Object
net.i2p.servlet.WebAppProviderConfiguration

public class WebAppProviderConfigurationextends Object
Work around the "No org.apache.tomcat.InstanceManager set in ServletContext" problem for eepsites with webapps. See WebAppStarter and WebAppConfiguration for the console version.
  • Constructor Details

    • WebAppProviderConfiguration

      public WebAppProviderConfiguration()
      configure(WebAppProvider) takes the provider it configures as an argument, so a bare instance is how jetty.xml invokes it.
  • Method Details

    • configure

      public static void configure(WebAppProvider wap)
      Modified from routerconsole WebAppStarter. MUST be called from jetty.xml after the WebAppProvider is created.
      Parameters:
      wap - the provider whose configuration class list is extended with WAPConfiguration and whose temp dir is redirected to the router's