org.eclipse.jetty.webapp
Class WebXmlConfiguration

java.lang.Object
  extended by org.eclipse.jetty.webapp.WebXmlConfiguration
All Implemented Interfaces:
Configuration

public class WebXmlConfiguration
extends Object
implements Configuration

Configure by parsing default web.xml and web.xml


Constructor Summary
WebXmlConfiguration()
           
 
Method Summary
 void configure(WebAppContext context)
          Process web.xml, web-fragment.xml(s), override-web.xml
 void deconfigure(WebAppContext context)
          DeConfigure WebApp.
protected  Resource findWebXml(WebAppContext context)
           
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Process webdefaults.xml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebXmlConfiguration

public WebXmlConfiguration()
Method Detail

preConfigure

public void preConfigure(WebAppContext context)
                  throws Exception
Process webdefaults.xml

Specified by:
preConfigure in interface Configuration
Throws:
Exception

configure

public void configure(WebAppContext context)
               throws Exception
Process web.xml, web-fragment.xml(s), override-web.xml

Specified by:
configure in interface Configuration
Throws:
Exception

postConfigure

public void postConfigure(WebAppContext context)
                   throws Exception
Description copied from interface: Configuration
Clear down after configuration.

Specified by:
postConfigure in interface Configuration
Throws:
Exception

findWebXml

protected Resource findWebXml(WebAppContext context)
                       throws IOException,
                              MalformedURLException
Throws:
IOException
MalformedURLException

deconfigure

public void deconfigure(WebAppContext context)
                 throws Exception
Description copied from interface: Configuration
DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle

Specified by:
deconfigure in interface Configuration
Throws:
Exception


Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.