org.eclipse.jetty.plus.webapp
Class EnvConfiguration
java.lang.Object
org.eclipse.jetty.plus.webapp.EnvConfiguration
- All Implemented Interfaces:
- Configuration
public class EnvConfiguration
- extends java.lang.Object
- implements Configuration
EnvConfiguration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvConfiguration
public EnvConfiguration()
setJettyEnvXml
public void setJettyEnvXml(java.net.URL url)
preConfigure
public void preConfigure(WebAppContext context)
throws java.lang.Exception
- Specified by:
preConfigure in interface Configuration
- Throws:
java.lang.Exception- See Also:
Configuration.configure(WebAppContext)
configure
public void configure(WebAppContext context)
throws java.lang.Exception
- Specified by:
configure in interface Configuration
- Throws:
java.lang.Exception
postConfigure
public void postConfigure(WebAppContext context)
throws java.lang.Exception
- Specified by:
postConfigure in interface Configuration
- Throws:
java.lang.Exception
deconfigure
public void deconfigure(WebAppContext context)
throws java.lang.Exception
- Remove all jndi setup
- Specified by:
deconfigure in interface Configuration
- Throws:
java.lang.Exception- See Also:
Configuration.deconfigure(WebAppContext)
bindEnvEntries
public void bindEnvEntries(WebAppContext context)
throws javax.naming.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:
javax.naming.NamingException
createEnvContext
protected void createEnvContext(WebAppContext wac)
throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
Copyright © 1995-2010 Mort Bay Consulting. All Rights Reserved.