Top Description Methods
org.mortbay.jetty.webapp

public Interface Configuration

extends Serializable
Known Direct Implementers
org.mortbay.jetty.webapp.JettyWebXmlConfiguration, org.mortbay.jetty.webapp.TagLibConfiguration, org.mortbay.jetty.webapp.WebInfConfiguration, org.mortbay.jetty.webapp.WebXmlConfiguration
Imports
java.io.Serializable

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

Modifier and TypeMethod and Description
public void
configureClassLoader()

Configure ClassPath.

public void
configureDefaults()

Configure Defaults.

public void
configureWebApp()

Configure WebApp.

public void
deconfigureWebApp()

DeConfigure WebApp.

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.

Method Detail

configureClassLoaderback to summary
public void configureClassLoader() throws Exception

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.

configureDefaultsback to summary
public void configureDefaults() throws Exception

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.

configureWebAppback to summary
public void configureWebApp() throws Exception

Configure WebApp. This method is called to apply the standard and vendor deployment descriptors. Typically this is web.xml and jetty-web.xml.

deconfigureWebAppback to summary
public void deconfigureWebApp() throws Exception

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

getWebAppContextback to summary
public WebAppContext getWebAppContext()

Get the context on which the configuration is performed.

setWebAppContextback to summary
public void setWebAppContext(WebAppContext context)

Set up a context on which to perform the configuration.