Top Description Fields Constructors Methods
org.mortbay.jetty.webapp

public Class WebInfConfiguration

extends Object
implements Configuration
Class Inheritance
All Implemented Interfaces
org.mortbay.jetty.webapp.Configuration, java.io.Serializable
Imports
org.mortbay.log.Log, org.mortbay.resource.Resource

Configure class path from a WEB-INF directory found within a contexts resource base.
Author
gregw

Field Summary

Modifier and TypeField and Description
protected WebAppContext

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public void
public void
public void
public WebAppContext
getWebAppContext()

Implements org.mortbay.jetty.webapp.Configuration.getWebAppContext.

Get the context on which the configuration is performed.
public void
setWebAppContext(WebAppContext context)

Implements org.mortbay.jetty.webapp.Configuration.setWebAppContext.

Set up a context on which to perform the configuration.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

_contextback to summary
protected WebAppContext _context

Constructor Detail

WebInfConfigurationback to summary
public WebInfConfiguration()

Method Detail

configureClassLoaderback to summary
public void configureClassLoader() throws Exception

Implements org.mortbay.jetty.webapp.Configuration.configureClassLoader.

Configure ClassPath. This method is called before the context ClassLoader is created. Paths and libraries should be added to the context using the setClassPath, addClassPath and addClassPaths methods. The default implementation looks for WEB-INF/classes, WEB-INF/lib/*.zip and WEB-INF/lib/*.jar

configureDefaultsback to summary
public void configureDefaults() throws Exception

Implements org.mortbay.jetty.webapp.Configuration.configureDefaults.

Doc from org.mortbay.jetty.webapp.Configuration.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.

configureWebAppback to summary
public void configureWebApp() throws Exception

Implements org.mortbay.jetty.webapp.Configuration.configureWebApp.

Doc from org.mortbay.jetty.webapp.Configuration.configureWebApp.

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

Implements org.mortbay.jetty.webapp.Configuration.deconfigureWebApp.

Doc from org.mortbay.jetty.webapp.Configuration.deconfigureWebApp.

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()

Implements org.mortbay.jetty.webapp.Configuration.getWebAppContext.

Doc from org.mortbay.jetty.webapp.Configuration.getWebAppContext.

Get the context on which the configuration is performed.

setWebAppContextback to summary
public void setWebAppContext(WebAppContext context)

Implements org.mortbay.jetty.webapp.Configuration.setWebAppContext.

Doc from org.mortbay.jetty.webapp.Configuration.setWebAppContext.

Set up a context on which to perform the configuration.