org.mortbay.jetty.plus.webapp
Class EnvConfiguration
java.lang.Object
org.mortbay.jetty.plus.webapp.EnvConfiguration
- All Implemented Interfaces:
- Serializable, org.mortbay.jetty.webapp.Configuration
public class EnvConfiguration
- extends Object
- implements org.mortbay.jetty.webapp.Configuration
EnvConfiguration
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnvConfiguration
public EnvConfiguration()
createEnvContext
protected void createEnvContext()
throws NamingException
- Throws:
NamingException
setWebAppContext
public void setWebAppContext(org.mortbay.jetty.webapp.WebAppContext context)
- Specified by:
setWebAppContext
in interface org.mortbay.jetty.webapp.Configuration
- Parameters:
context
- - See Also:
Configuration.setWebAppContext(org.mortbay.jetty.webapp.WebAppContext)
setJettyEnvXml
public void setJettyEnvXml(URL url)
getWebAppContext
public org.mortbay.jetty.webapp.WebAppContext getWebAppContext()
- Specified by:
getWebAppContext
in interface org.mortbay.jetty.webapp.Configuration
- See Also:
Configuration.getWebAppContext()
configureClassLoader
public void configureClassLoader()
throws Exception
- Specified by:
configureClassLoader
in interface org.mortbay.jetty.webapp.Configuration
- Throws:
Exception
- See Also:
Configuration.configureClassLoader()
configureDefaults
public void configureDefaults()
throws Exception
- Specified by:
configureDefaults
in interface org.mortbay.jetty.webapp.Configuration
- Throws:
Exception
- See Also:
Configuration.configureDefaults()
configureWebApp
public void configureWebApp()
throws Exception
- Specified by:
configureWebApp
in interface org.mortbay.jetty.webapp.Configuration
- Throws:
Exception
- See Also:
Configuration.configureWebApp()
deconfigureWebApp
public void deconfigureWebApp()
throws Exception
- Remove all jndi setup
- Specified by:
deconfigureWebApp
in interface org.mortbay.jetty.webapp.Configuration
- Throws:
Exception
- See Also:
Configuration.deconfigureWebApp()
bindEnvEntries
public void bindEnvEntries()
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
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.