org.mortbay.jetty.plus.webapp
public class EnvConfiguration extends java.lang.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(java.net.URL url) |
void |
setWebAppContext(org.mortbay.jetty.webapp.WebAppContext context) |
protected void createEnvContext() throws javax.naming.NamingException
javax.naming.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(java.net.URL url)
public org.mortbay.jetty.webapp.WebAppContext getWebAppContext()
getWebAppContext
in interface org.mortbay.jetty.webapp.Configuration
Configuration.getWebAppContext()
public void configureClassLoader() throws java.lang.Exception
configureClassLoader
in interface org.mortbay.jetty.webapp.Configuration
java.lang.Exception
Configuration.configureClassLoader()
public void configureDefaults() throws java.lang.Exception
configureDefaults
in interface org.mortbay.jetty.webapp.Configuration
java.lang.Exception
Configuration.configureDefaults()
public void configureWebApp() throws java.lang.Exception
configureWebApp
in interface org.mortbay.jetty.webapp.Configuration
java.lang.Exception
Configuration.configureWebApp()
public void deconfigureWebApp() throws java.lang.Exception
deconfigureWebApp
in interface org.mortbay.jetty.webapp.Configuration
java.lang.Exception
Configuration.deconfigureWebApp()
public void bindEnvEntries() throws javax.naming.NamingException
javax.naming.NamingException
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.