org.eclipse.jetty.plus.webapp
Class EnvConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.plus.webapp.EnvConfiguration
- All Implemented Interfaces:
- Configuration
public class EnvConfiguration
- extends AbstractConfiguration
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(URL url)
preConfigure
public void preConfigure(WebAppContext context)
throws Exception
- Specified by:
preConfigure in interface Configuration- Overrides:
preConfigure in class AbstractConfiguration
- Throws:
Exception- See Also:
Configuration.configure(WebAppContext)
configure
public void configure(WebAppContext context)
throws Exception
- Specified by:
configure in interface Configuration- Overrides:
configure in class AbstractConfiguration
- Throws:
Exception
deconfigure
public void deconfigure(WebAppContext context)
throws Exception
- Remove jndi setup from start
- Specified by:
deconfigure in interface Configuration- Overrides:
deconfigure in class AbstractConfiguration
- Throws:
Exception- See Also:
Configuration.deconfigure(WebAppContext)
destroy
public void destroy(WebAppContext context)
throws Exception
- Remove all jndi setup
- Specified by:
destroy in interface Configuration- Overrides:
destroy in class AbstractConfiguration
- Throws:
Exception- See Also:
Configuration.deconfigure(WebAppContext)
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-2011 Mort Bay Consulting. All Rights Reserved.