public class EnvConfiguration extends AbstractConfiguration
| Constructor and Description |
|---|
EnvConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindEnvEntries(WebAppContext context)
Bind all EnvEntries that have been declared, so that the processing of the
web.xml file can potentially override them.
|
void |
configure(WebAppContext context)
Configure WebApp.
|
protected void |
createEnvContext(WebAppContext wac) |
void |
deconfigure(WebAppContext context)
Remove jndi setup from start
|
void |
destroy(WebAppContext context)
Remove all jndi setup
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
void |
setJettyEnvXml(URL url) |
cloneConfigure, postConfigurepublic void setJettyEnvXml(URL url)
public void preConfigure(WebAppContext context) throws Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface ConfigurationpreConfigure in class AbstractConfigurationcontext - The context to configureExceptionConfiguration.configure(WebAppContext)public void configure(WebAppContext context) throws Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext or the associated MetaData.
configure in interface Configurationconfigure in class AbstractConfigurationcontext - The context to configureExceptionpublic void deconfigure(WebAppContext context) throws Exception
deconfigure in interface Configurationdeconfigure in class AbstractConfigurationcontext - The context to configureExceptionConfiguration.deconfigure(WebAppContext)public void destroy(WebAppContext context) throws Exception
destroy in interface Configurationdestroy in class AbstractConfigurationcontext - The context to configureExceptionConfiguration.deconfigure(WebAppContext)public void bindEnvEntries(WebAppContext context) throws NamingException
NamingExceptionprotected void createEnvContext(WebAppContext wac) throws NamingException
NamingExceptionCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.