|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.jetty.webapp.WebXmlConfiguration
public class WebXmlConfiguration
Configure by parsing default web.xml and web.xml
Field Summary | |
---|---|
protected Object |
_constraintMappings
|
protected WebAppContext |
_context
|
protected boolean |
_defaultWelcomeFileList
|
protected Map |
_errorPages
|
protected Object |
_filterMappings
|
protected Object |
_filters
|
protected boolean |
_hasJSP
|
protected String |
_jspServletClass
|
protected String |
_jspServletName
|
protected Object |
_listeners
|
protected ServletHandler |
_servletHandler
|
protected Object |
_servletMappings
|
protected Object |
_servlets
|
protected int |
_version
|
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 String _jspServletName
protected String _jspServletClass
protected boolean _defaultWelcomeFileList
protected ServletHandler _servletHandler
protected int _version
Constructor Detail |
---|
public WebXmlConfiguration()
Method Detail |
---|
public static XmlParser webXmlParser()
public void setWebAppContext(WebAppContext context)
Configuration
setWebAppContext
in interface Configuration
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
protected URL findWebXml() throws IOException, MalformedURLException
IOException
MalformedURLException
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 String normalizePattern(String p)
protected void initServlet(XmlParser.Node node)
protected void initServletMapping(XmlParser.Node node)
protected void initListener(XmlParser.Node node)
protected Object newListenerInstance(Class clazz) throws InstantiationException, IllegalAccessException
InstantiationException
IllegalAccessException
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 String getJSPServletName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |