java.lang.Object
net.i2p.servlet.WebAppProviderConfiguration
Work around the "No org.apache.tomcat.InstanceManager set in ServletContext" problem for eepsites with webapps. See WebAppStarter and WebAppConfiguration for the console version.
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConfiguration class for web app provider to set up Tomcat instance manager.Constructor Summary
ConstructorsConstructorDescriptionconfigure(WebAppProvider)takes the provider it configures as an argument, so a bare instance is how jetty.xml invokes it.Method Summary
All MethodsModifier and TypeMethodDescriptionstatic voidconfigure(WebAppProvider wap) Modified from routerconsole WebAppStarter.
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
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