org.eclipse.jetty.webapp
Class JettyWebXmlConfiguration

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

public class JettyWebXmlConfiguration
extends Object
implements Configuration

JettyWebConfiguration. Looks for Xmlconfiguration files in WEB-INF. Searches in order for the first of jetty6-web.xml, jetty-web.xml or web-jetty.xml


Field Summary
static String PROPERTY_THIS_WEB_INF_URL
          The value of this property points to the WEB-INF directory of the web-app currently installed.
 
Constructor Summary
JettyWebXmlConfiguration()
           
 
Method Summary
 void configure(WebAppContext context)
          Configure Apply web-jetty.xml configuration
 void deconfigure(WebAppContext context)
          DeConfigure WebApp.
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Set up for configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_THIS_WEB_INF_URL

public static final String PROPERTY_THIS_WEB_INF_URL
The value of this property points to the WEB-INF directory of the web-app currently installed. it is passed as a property to the jetty-web.xml file

See Also:
Constant Field Values
Constructor Detail

JettyWebXmlConfiguration

public JettyWebXmlConfiguration()
Method Detail

preConfigure

public void preConfigure(WebAppContext context)
                  throws Exception
Description copied from interface: Configuration
Set up for configuration.

Specified by:
preConfigure in interface Configuration
Throws:
Exception

configure

public void configure(WebAppContext context)
               throws Exception
Configure Apply web-jetty.xml configuration

Specified by:
configure in interface Configuration
Throws:
Exception
See Also:
Configuration.configure(WebAppContext)

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

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-2010 Mort Bay Consulting. All Rights Reserved.