| org.mortbay.jetty.webapp.Configuration
All known Subclasses: org.mortbay.jetty.webapp.TagLibConfiguration, org.mortbay.jetty.webapp.WebInfConfiguration, org.mortbay.jetty.webapp.WebXmlConfiguration, org.mortbay.jetty.webapp.JettyWebXmlConfiguration,
Configuration | public interface Configuration extends Serializable(Code) | | Base Class for WebApplicationContext Configuration.
This class can be extended to customize or extend the configuration
of the WebApplicationContext. If WebApplicationContext.setConfiguration is not
called, then an XMLConfiguration instance is created.
author: gregw |
Method Summary | |
public void | configureClassLoader() Configure ClassPath.
This method is called to configure the context ClassLoader. | public void | configureDefaults() Configure Defaults.
This method is called to intialize the context to the containers default configuration.
Typically this would mean application of the webdefault.xml file. | public void | configureWebApp() Configure WebApp.
This method is called to apply the standard and vendor deployment descriptors.
Typically this is web.xml and jetty-web.xml. | public void | deconfigureWebApp() DeConfigure WebApp.
This method is called to undo all configuration done to this webapphandler. | public WebAppContext | getWebAppContext() Get the context on which the configuration is performed. | public void | setWebAppContext(WebAppContext context) Set up a context on which to perform the configuration. |
configureClassLoader | public void configureClassLoader() throws Exception(Code) | | Configure ClassPath.
This method is called to configure the context ClassLoader. It is called just
after a new WebAppClassLoader is constructed and before it has been used.
Class paths may be added, options changed or the loader totally replaced.
throws: Exception - |
configureDefaults | public void configureDefaults() throws Exception(Code) | | Configure Defaults.
This method is called to intialize the context to the containers default configuration.
Typically this would mean application of the webdefault.xml file.
throws: Exception - |
configureWebApp | public void configureWebApp() throws Exception(Code) | | Configure WebApp.
This method is called to apply the standard and vendor deployment descriptors.
Typically this is web.xml and jetty-web.xml.
throws: Exception - |
deconfigureWebApp | public void deconfigureWebApp() throws Exception(Code) | | DeConfigure WebApp.
This method is called to undo all configuration done to this webapphandler. This is
called to allow the context to work correctly over a stop/start cycle
throws: Exception - |
getWebAppContext | public WebAppContext getWebAppContext()(Code) | | Get the context on which the configuration is performed.
|
setWebAppContext | public void setWebAppContext(WebAppContext context)(Code) | | Set up a context on which to perform the configuration.
Parameters: context - |
|
|