Package org.eclipse.jetty.plus.webapp
Class EnvConfiguration
java.lang.Object
org.eclipse.jetty.webapp.AbstractConfiguration
org.eclipse.jetty.plus.webapp.EnvConfiguration
- All Implemented Interfaces:
Configuration
EnvConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.webapp.Configuration
Configuration.ClassList, Configuration.Wrapper, Configuration.WrapperFunction -
Field Summary
Fields inherited from interface org.eclipse.jetty.webapp.Configuration
ATTR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindEnvEntries(WebAppContext context) Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.voidconfigure(WebAppContext context) protected voidvoiddeconfigure(WebAppContext context) Remove jndi setup from startvoiddestroy(WebAppContext context) Remove all jndi setupvoidpreConfigure(WebAppContext context) voidsetJettyEnvXml(URL url) Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
cloneConfigure, postConfigure
-
Constructor Details
-
EnvConfiguration
public EnvConfiguration()
-
-
Method Details
-
setJettyEnvXml
-
preConfigure
- Specified by:
preConfigurein interfaceConfiguration- Overrides:
preConfigurein classAbstractConfiguration- Throws:
Exception
-
configure
- Specified by:
configurein interfaceConfiguration- Overrides:
configurein classAbstractConfiguration- Throws:
Exception
-
deconfigure
Remove jndi setup from start- Specified by:
deconfigurein interfaceConfiguration- Overrides:
deconfigurein classAbstractConfiguration- Throws:
Exception- if unable to deconfigure
-
destroy
Remove all jndi setup- Specified by:
destroyin interfaceConfiguration- Overrides:
destroyin classAbstractConfiguration- Throws:
Exception- if unable to destroy
-
bindEnvEntries
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.- Parameters:
context- the context to use for the object scope- Throws:
NamingException- if unable to bind env entries
-
createEnvContext
- Throws:
NamingException
-