org.mortbay.jetty.plus

Class PlusWebAppContext.Configuration

Enclosing Class:
PlusWebAppContext
Implemented Interfaces:
Serializable, WebApplicationContext.Configuration

public static class PlusWebAppContext.Configuration
extends XMLConfiguration

Field Summary

Fields inherited from class org.mortbay.jetty.servlet.XMLConfiguration

xmlParser

Constructor Summary

Configuration()

Method Summary

void
configureWebApp()
Configure WebApp.
PlusWebAppContext
getPlusWebAppContext()
protected void
initWebXmlElement(String element, XmlParser.Node node)
Handle web.xml element.

Methods inherited from class org.mortbay.jetty.servlet.XMLConfiguration

configureClassPath, configureDefaults, configureWebApp, getWebApplicationContext, getWebApplicationHandler, initContextParam, initDisplayName, initDistributable, initErrorPage, initFilter, initFilterMapping, initJspConfig, initListener, initLocaleEncodingList, initLoginConfig, initMimeConfig, initSecurityConstraint, initSecurityRole, initServlet, initServletMapping, initSessionConfig, initTagLib, initWebXmlElement, initWelcomeFileList, initialize, setWebApplicationContext, webXmlParser

Constructor Details

Configuration

public Configuration()

Method Details

configureWebApp

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. The default implementation does nothing.
Specified by:
configureWebApp in interface WebApplicationContext.Configuration
Overrides:
configureWebApp in interface XMLConfiguration

getPlusWebAppContext

public PlusWebAppContext getPlusWebAppContext()

initWebXmlElement

protected void initWebXmlElement(String element,
                                 XmlParser.Node node)
            throws Exception
Handle web.xml element. This method is called for each top level element within the web.xml file. It may be specialized by derived WebApplicationContexts to provide additional configuration and handling.
Overrides:
initWebXmlElement in interface XMLConfiguration
Parameters:
element - The element name
node - The node containing the element.

Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.