Configurationpublic class EnvConfiguration extends AbstractConfiguration
Configuration.ClassListATTR| Constructor | Description |
|---|---|
EnvConfiguration() |
| Modifier and Type | Method | 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(java.net.URL url) |
cloneConfigure, postConfigurepublic void setJettyEnvXml(java.net.URL url)
public void preConfigure(WebAppContext context) throws java.lang.Exception
preConfigure in interface ConfigurationpreConfigure in class AbstractConfigurationjava.lang.Exceptionpublic void configure(WebAppContext context) throws java.lang.Exception
configure in interface Configurationconfigure in class AbstractConfigurationjava.lang.Exceptionpublic void deconfigure(WebAppContext context) throws java.lang.Exception
deconfigure in interface Configurationdeconfigure in class AbstractConfigurationjava.lang.Exception - if unable to deconfigurepublic void destroy(WebAppContext context) throws java.lang.Exception
destroy in interface Configurationdestroy in class AbstractConfigurationjava.lang.Exception - if unable to destroypublic void bindEnvEntries(WebAppContext context) throws javax.naming.NamingException
context - the context to use for the object scopejavax.naming.NamingException - if unable to bind env entriesprotected void createEnvContext(WebAppContext wac) throws javax.naming.NamingException
javax.naming.NamingExceptionCopyright © 1995–2017 Webtide. All rights reserved.