|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.jetty.webapp.WebXmlConfiguration
Configure by parsing default web.xml and web.xml
Field Summary | |
protected Object |
_constraintMappings
|
protected WebAppContext |
_context
|
protected Map |
_errorPages
|
protected Object |
_filterMappings
|
protected Object |
_filters
|
protected boolean |
_hasJSP
|
protected Object |
_listeners
|
protected Object |
_servletMappings
|
protected Object |
_servlets
|
protected boolean |
_welcomeFileList
|
protected Object |
_welcomeFiles
|
protected XmlParser |
_xmlParser
|
Constructor Summary | |
WebXmlConfiguration()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WebAppContext _context
protected XmlParser _xmlParser
protected Object _filters
protected Object _filterMappings
protected Object _servlets
protected Object _servletMappings
protected Object _welcomeFiles
protected Object _constraintMappings
protected Object _listeners
protected Map _errorPages
protected boolean _hasJSP
protected boolean _welcomeFileList
Constructor Detail |
public WebXmlConfiguration()
Method Detail |
public static XmlParser webXmlParser()
public void setWebAppContext(WebAppContext context)
Configuration
setWebAppContext
in interface Configuration
context
- public WebAppContext getWebAppContext()
Configuration
getWebAppContext
in interface Configuration
public void configureClassLoader() throws Exception
configureClassLoader
in interface Configuration
Exception
public void configureDefaults() throws Exception
Configuration
configureDefaults
in interface Configuration
Exception
public void configureWebApp() throws Exception
Configuration
configureWebApp
in interface Configuration
Exception
public void configure(String webXml) throws Exception
Exception
public void deconfigureWebApp() throws Exception
Configuration
deconfigureWebApp
in interface Configuration
Exception
protected void initialize(XmlParser.Node config) throws ClassNotFoundException, UnavailableException
ClassNotFoundException
UnavailableException
protected void initWebXmlElement(String element, XmlParser.Node node) throws Exception
element
- The element namenode
- The node containing the element.
Exception
protected void initDisplayName(XmlParser.Node node)
protected void initContextParam(XmlParser.Node node)
protected void initFilter(XmlParser.Node node)
protected void initFilterMapping(XmlParser.Node node)
protected void initServlet(XmlParser.Node node)
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)
protected ServletHolder newServletHolder()
protected FilterHolder newFilterHolder()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |