| Modifier and Type | Field and Description |
|---|---|
| private Context | |
| private Context | |
| private URL | |
| private WebAppContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bindEnvEntries()
Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them. |
| public void | configureClassLoader()
Implements org. |
| public void | configureDefaults()
Implements org. |
| public void | configureWebApp()
Implements org. |
| protected void | |
| public void | deconfigureWebApp()
Implements org. |
| public WebAppContext | getWebAppContext()
Implements org. |
| public void | |
| public void | setWebAppContext(WebAppContext context)
Implements org. |
| compCtx | back to summary |
|---|---|
| private Context compCtx | |
| envCtx | back to summary |
|---|---|
| private Context envCtx | |
| jettyEnvXmlUrl | back to summary |
|---|---|
| private URL jettyEnvXmlUrl | |
| webAppContext | back to summary |
|---|---|
| private WebAppContext webAppContext | |
| EnvConfiguration | back to summary |
|---|---|
| public EnvConfiguration() | |
| bindEnvEntries | back to summary |
|---|---|
| public void bindEnvEntries() 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. | |
| configureClassLoader | back to summary |
|---|---|
| public void configureClassLoader() throws Exception Implements org. Doc from org. Configure ClassPath. This method is called to configure the context ClassLoader. It is called just after a new WebAppClassLoader is constructed and before it has been used. Class paths may be added, options changed or the loader totally replaced. | |
| configureDefaults | back to summary |
|---|---|
| public void configureDefaults() throws Exception Implements org. Doc from org. Configure Defaults. This method is called to intialize the context to the containers default configuration. Typically this would mean application of the webdefault.xml file. | |
| configureWebApp | back to summary |
|---|---|
| public void configureWebApp() throws Exception Implements org. Doc from org. Configure WebApp. This method is called to apply the standard and vendor deployment descriptors. Typically this is web.xml and jetty-web.xml. | |
| createEnvContext | back to summary |
|---|---|
| protected void createEnvContext() throws NamingException | |
| deconfigureWebApp | back to summary |
|---|---|
| public void deconfigureWebApp() throws Exception Implements org. Remove all jndi setup | |
| getWebAppContext | back to summary |
|---|---|
| public WebAppContext getWebAppContext() Implements org. Doc from org. Get the context on which the configuration is performed. | |
| setJettyEnvXml | back to summary |
|---|---|
| public void setJettyEnvXml(URL url) | |
| setWebAppContext | back to summary |
|---|---|
| public void setWebAppContext(WebAppContext context) Implements org. Doc from org. Set up a context on which to perform the configuration. | |