org.mortbay.jetty.plus.webapp
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
NamingException
public void setWebAppContext(org.mortbay.jetty.webapp.WebAppContext context)
setWebAppContext
in interface org.mortbay.jetty.webapp.Configuration
context
- 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.Configuration
Configuration.getWebAppContext()
public void configureClassLoader() throws Exception
configureClassLoader
in interface org.mortbay.jetty.webapp.Configuration
Exception
Configuration.configureClassLoader()
public void configureDefaults() throws Exception
configureDefaults
in interface org.mortbay.jetty.webapp.Configuration
Exception
Configuration.configureDefaults()
public void configureWebApp() throws Exception
configureWebApp
in interface org.mortbay.jetty.webapp.Configuration
Exception
Configuration.configureWebApp()
public void deconfigureWebApp() throws Exception
deconfigureWebApp
in interface org.mortbay.jetty.webapp.Configuration
Exception
Configuration.deconfigureWebApp()
public void bindEnvEntries() throws NamingException
NamingException
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.