An extension to the standard Jetty {@link org.mortbay.jetty.servlet.WebApplicationContext} that allows resourcesto be loaded from multiple {@link org.mortbay.http.ResourceCache}s.
This is necessary for the plugin architecture so that plugins may register their own webapp directories which can then be overlaid onto the namespace of the main Adito webapp.
Other Adito specific webapp configuration is also performed here, including setting up the special /defaultStyle.css alias that is used to workaround the change to the way the CSS file is load. If this alias was not set up, upgraders would have lost their CSS as /defaultStyle.css no longer really exists.
Plugins also register new classpaths here so that any Java bytecode they may require (be it in .CLASS format or .JAR format) may be loaded in the same Class Loader as the main webapp.
|
|
|
|