Class EnvConfiguration
java.lang.Object
org.eclipse.jetty.ee11.webapp.AbstractConfiguration
org.eclipse.jetty.ee11.plus.webapp.EnvConfiguration
- All Implemented Interfaces:
org.eclipse.jetty.ee11.webapp.Configuration
public class EnvConfiguration
extends org.eclipse.jetty.ee11.webapp.AbstractConfiguration
EnvConfiguration
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jetty.ee11.webapp.AbstractConfiguration
org.eclipse.jetty.ee11.webapp.AbstractConfiguration.Builder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbindEnvEntries(org.eclipse.jetty.ee11.webapp.WebAppContext context) Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.voidconfigure(org.eclipse.jetty.ee11.webapp.WebAppContext context) protected voidcreateEnvContext(org.eclipse.jetty.ee11.webapp.WebAppContext wac) voiddeconfigure(org.eclipse.jetty.ee11.webapp.WebAppContext context) Remove jndi setup from startvoiddestroy(org.eclipse.jetty.ee11.webapp.WebAppContext context) Remove all jndi setupvoidpreConfigure(org.eclipse.jetty.ee11.webapp.WebAppContext context) Methods inherited from class org.eclipse.jetty.ee11.webapp.AbstractConfiguration
abort, getDependencies, getDependents, getHiddenClasses, getProtectedClasses, isEnabledByDefault, postConfigureMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.jetty.ee11.webapp.Configuration
isAvailable, replaces
-
Field Details
-
JETTY_ENV_XML
- See Also:
-
-
Constructor Details
-
EnvConfiguration
public EnvConfiguration()
-
-
Method Details
-
preConfigure
-
configure
-
deconfigure
Remove jndi setup from start- Specified by:
deconfigurein interfaceorg.eclipse.jetty.ee11.webapp.Configuration- Overrides:
deconfigurein classorg.eclipse.jetty.ee11.webapp.AbstractConfiguration- Throws:
Exception- if unable to deconfigure
-
destroy
Remove all jndi setup- Specified by:
destroyin interfaceorg.eclipse.jetty.ee11.webapp.Configuration- Overrides:
destroyin classorg.eclipse.jetty.ee11.webapp.AbstractConfiguration- Throws:
Exception- if unable to destroy
-
bindEnvEntries
public void bindEnvEntries(org.eclipse.jetty.ee11.webapp.WebAppContext context) throws NamingException 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
protected void createEnvContext(org.eclipse.jetty.ee11.webapp.WebAppContext wac) throws NamingException - Throws:
NamingException
-