public class EnvConfiguration extends Object implements org.mortbay.jetty.webapp.Configuration
| Constructor and Description |
|---|
EnvConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindEnvEntries()
Bind all EnvEntries that have been declared, so that the processing of the
web.xml file can potentially override them.
|
void |
configureClassLoader() |
void |
configureDefaults() |
void |
configureWebApp() |
protected void |
createEnvContext() |
void |
deconfigureWebApp()
Remove all jndi setup
|
org.mortbay.jetty.webapp.WebAppContext |
getWebAppContext() |
void |
setJettyEnvXml(URL url) |
void |
setWebAppContext(org.mortbay.jetty.webapp.WebAppContext context) |
protected void createEnvContext()
throws NamingException
NamingExceptionpublic void setWebAppContext(org.mortbay.jetty.webapp.WebAppContext context)
setWebAppContext in interface org.mortbay.jetty.webapp.Configurationcontext - Configuration.setWebAppContext(org.mortbay.jetty.webapp.WebAppContext)public void setJettyEnvXml(URL url)
public org.mortbay.jetty.webapp.WebAppContext getWebAppContext()
getWebAppContext in interface org.mortbay.jetty.webapp.ConfigurationConfiguration.getWebAppContext()public void configureClassLoader()
throws Exception
configureClassLoader in interface org.mortbay.jetty.webapp.ConfigurationExceptionConfiguration.configureClassLoader()public void configureDefaults()
throws Exception
configureDefaults in interface org.mortbay.jetty.webapp.ConfigurationExceptionConfiguration.configureDefaults()public void configureWebApp()
throws Exception
configureWebApp in interface org.mortbay.jetty.webapp.ConfigurationExceptionConfiguration.configureWebApp()public void deconfigureWebApp()
throws Exception
deconfigureWebApp in interface org.mortbay.jetty.webapp.ConfigurationExceptionConfiguration.deconfigureWebApp()public void bindEnvEntries()
throws NamingException
NamingExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.