Class EnvConfiguration
java.lang.Object
org.eclipse.jetty.ee9.webapp.AbstractConfiguration
org.eclipse.jetty.ee9.plus.webapp.EnvConfiguration
- All Implemented Interfaces:
- Configuration
EnvConfiguration
- 
Nested Class SummaryNested classes/interfaces inherited from interface ConfigurationConfiguration.Wrapper, Configuration.WrapperFunction
- 
Field SummaryFields inherited from interface ConfigurationATTR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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) Configure WebApp.protected voidvoiddeconfigure(WebAppContext context) Remove jndi setup from startvoiddestroy(WebAppContext context) Remove all jndi setupvoidpreConfigure(WebAppContext context) Set up for configuration.voidsetJettyEnvResource(Resource resource) voidsetJettyEnvXml(URL url) Methods inherited from class AbstractConfigurationabort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, postConfigure, protect, protectAndExposeMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationisAvailable, replaces
- 
Constructor Details- 
EnvConfigurationpublic EnvConfiguration()
 
- 
- 
Method Details- 
setJettyEnvResource
- 
setJettyEnvXml
- 
preConfigureDescription copied from interface:ConfigurationSet up for configuration.Typically this step discovers configuration resources. Calls to preConfigure may alter the Configurations configured on the WebAppContext, so long as configurations prior to this configuration are not altered. - Specified by:
- preConfigurein interface- Configuration
- Overrides:
- preConfigurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to pre configure
 
- 
configureDescription copied from interface:ConfigurationConfigure WebApp.Typically this step applies the discovered configuration resources to either the WebAppContextor the associatedMetaData.- Specified by:
- configurein interface- Configuration
- Overrides:
- configurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to configure
 
- 
deconfigureRemove jndi setup from start- Specified by:
- deconfigurein interface- Configuration
- Overrides:
- deconfigurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to deconfigure
 
- 
destroyRemove all jndi setup- Specified by:
- destroyin interface- Configuration
- Overrides:
- destroyin class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to destroy
 
- 
bindEnvEntriesBind 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
 
 
-