org.eclipse.jetty.plus.webapp
Class EnvConfiguration

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

public class EnvConfiguration
extends Object
implements Configuration

EnvConfiguration


Constructor Summary
EnvConfiguration()
           
 
Method Summary
 void bindEnvEntries(WebAppContext context)
          Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.
 void configure(WebAppContext context)
          Configure WebApp.
protected  void createEnvContext(WebAppContext wac)
           
 void deconfigure(WebAppContext context)
          Remove all jndi setup
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Set up for configuration.
 void setJettyEnvXml(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnvConfiguration

public EnvConfiguration()
Method Detail

setJettyEnvXml

public void setJettyEnvXml(URL url)

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
See Also:
org.eclipse.jetty.webapp.Configuration#configureDefaults()

configure

public void configure(WebAppContext context)
               throws Exception
Description copied from interface: Configuration
Configure WebApp.

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

deconfigure

public void deconfigure(WebAppContext context)
                 throws Exception
Remove all jndi setup

Specified by:
deconfigure in interface Configuration
Throws:
Exception
See Also:
org.eclipse.jetty.webapp.Configuration#deconfigureWebApp()

bindEnvEntries

public void bindEnvEntries(WebAppContext context)
                    throws NamingException
Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them. We first bind EnvEntries declared in Server scope, then WebAppContext scope.

Throws:
NamingException

createEnvContext

protected void createEnvContext(WebAppContext wac)
                         throws NamingException
Throws:
NamingException


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