public class EnvConfiguration extends AbstractConfiguration
Configuration.ClassListATTR| 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) |
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) |
void |
setJettyEnvXml(URL url) |
cloneConfigure, postConfigurepublic void setJettyEnvXml(URL url)
public void preConfigure(WebAppContext context) throws Exception
preConfigure in interface ConfigurationpreConfigure in class AbstractConfigurationExceptionpublic void configure(WebAppContext context) throws Exception
configure in interface Configurationconfigure in class AbstractConfigurationExceptionpublic void deconfigure(WebAppContext context) throws Exception
deconfigure in interface Configurationdeconfigure in class AbstractConfigurationException - if unable to deconfigurepublic void destroy(WebAppContext context) throws Exception
destroy in interface Configurationdestroy in class AbstractConfigurationException - if unable to destroypublic void bindEnvEntries(WebAppContext context) throws NamingException
context - the context to use for the object scopeNamingException - if unable to bind env entriesprotected void createEnvContext(WebAppContext wac) throws NamingException
NamingExceptionCopyright © 1995–2016 Webtide. All rights reserved.