public class XMLConfiguration extends java.lang.Object implements WebApplicationContext.Configuration
Constructor and Description |
---|
XMLConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configureClassPath()
Configure ClassPath.
|
void |
configureDefaults()
Configure Defaults.
|
void |
configureWebApp()
Configure WebApp.
|
WebApplicationContext |
getWebApplicationContext()
Get the context on which the configuration is performed.
|
WebApplicationHandler |
getWebApplicationHandler() |
protected void |
initContextParam(XmlParser.Node node) |
protected void |
initDisplayName(XmlParser.Node node) |
protected void |
initDistributable(XmlParser.Node node) |
protected void |
initErrorPage(XmlParser.Node node) |
protected void |
initFilter(XmlParser.Node node) |
protected void |
initFilterMapping(XmlParser.Node node) |
protected void |
initialize(XmlParser.Node config) |
protected void |
initJspConfig(XmlParser.Node node) |
protected void |
initListener(XmlParser.Node node) |
protected void |
initLocaleEncodingList(XmlParser.Node node) |
protected void |
initLoginConfig(XmlParser.Node node) |
protected void |
initMimeConfig(XmlParser.Node node) |
protected void |
initSecurityConstraint(XmlParser.Node node) |
protected void |
initSecurityRole(XmlParser.Node node) |
protected void |
initServlet(XmlParser.Node node) |
protected void |
initServletMapping(XmlParser.Node node) |
protected void |
initSessionConfig(XmlParser.Node node) |
protected void |
initTagLib(XmlParser.Node node) |
protected void |
initWebXmlElement(java.lang.String element,
XmlParser.Node node)
Handle web.xml element.
|
protected void |
initWelcomeFileList(XmlParser.Node node) |
void |
setWebApplicationContext(WebApplicationContext context)
Set up a context on which to perform the configuration.
|
static XmlParser |
webXmlParser() |
protected XmlParser xmlParser
public static XmlParser webXmlParser()
public void setWebApplicationContext(WebApplicationContext context)
WebApplicationContext.Configuration
setWebApplicationContext
in interface WebApplicationContext.Configuration
public WebApplicationContext getWebApplicationContext()
WebApplicationContext.Configuration
getWebApplicationContext
in interface WebApplicationContext.Configuration
public WebApplicationHandler getWebApplicationHandler()
public void configureClassPath() throws java.lang.Exception
configureClassPath
in interface WebApplicationContext.Configuration
java.lang.Exception
public void configureDefaults() throws java.lang.Exception
WebApplicationContext.Configuration
configureDefaults
in interface WebApplicationContext.Configuration
java.lang.Exception
public void configureWebApp() throws java.lang.Exception
WebApplicationContext.Configuration
configureWebApp
in interface WebApplicationContext.Configuration
java.lang.Exception
protected void initialize(XmlParser.Node config) throws java.lang.ClassNotFoundException, UnavailableException
java.lang.ClassNotFoundException
UnavailableException
protected void initWebXmlElement(java.lang.String element, XmlParser.Node node) throws java.lang.Exception
element
- The element namenode
- The node containing the element.java.lang.Exception
protected void initDisplayName(XmlParser.Node node)
protected void initContextParam(XmlParser.Node node)
protected void initFilter(XmlParser.Node node) throws java.lang.ClassNotFoundException, UnavailableException
java.lang.ClassNotFoundException
UnavailableException
protected void initFilterMapping(XmlParser.Node node)
protected void initServlet(XmlParser.Node node) throws java.lang.ClassNotFoundException, UnavailableException, java.io.IOException, java.net.MalformedURLException
java.lang.ClassNotFoundException
UnavailableException
java.io.IOException
java.net.MalformedURLException
protected void initServletMapping(XmlParser.Node node)
protected void initListener(XmlParser.Node node)
protected void initDistributable(XmlParser.Node node)
protected void initSessionConfig(XmlParser.Node node)
protected void initMimeConfig(XmlParser.Node node)
protected void initWelcomeFileList(XmlParser.Node node)
protected void initLocaleEncodingList(XmlParser.Node node)
protected void initErrorPage(XmlParser.Node node)
protected void initTagLib(XmlParser.Node node)
protected void initJspConfig(XmlParser.Node node)
protected void initSecurityConstraint(XmlParser.Node node)
protected void initLoginConfig(XmlParser.Node node)
protected void initSecurityRole(XmlParser.Node node)
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.