org.eclipse.jetty.webapp
类 WebXmlConfiguration

java.lang.Object
  继承者 org.eclipse.jetty.webapp.AbstractConfiguration
      继承者 org.eclipse.jetty.webapp.WebXmlConfiguration
所有已实现的接口:
Configuration

public class WebXmlConfiguration
extends AbstractConfiguration

Configure by parsing default web.xml and web.xml


构造方法摘要
WebXmlConfiguration()
           
 
方法摘要
 void configure(WebAppContext context)
          Process web-default.xml, web.xml, override-web.xml
 void deconfigure(WebAppContext context)
          DeConfigure WebApp.
protected  Resource findWebXml(WebAppContext context)
           
 void preConfigure(WebAppContext context)
          Set up for configuration.
 
从类 org.eclipse.jetty.webapp.AbstractConfiguration 继承的方法
cloneConfigure, destroy, postConfigure
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

WebXmlConfiguration

public WebXmlConfiguration()
方法详细信息

preConfigure

public void preConfigure(WebAppContext context)
                  throws Exception
从接口 Configuration 复制的描述
Set up for configuration.

Typically this step discovers configuration resources

指定者:
接口 Configuration 中的 preConfigure
覆盖:
AbstractConfiguration 中的 preConfigure
参数:
context - The context to configure
抛出:
Exception

configure

public void configure(WebAppContext context)
               throws Exception
Process web-default.xml, web.xml, override-web.xml

指定者:
接口 Configuration 中的 configure
覆盖:
AbstractConfiguration 中的 configure
参数:
context - The context to configure
抛出:
Exception

findWebXml

protected Resource findWebXml(WebAppContext context)
                       throws IOException,
                              MalformedURLException
抛出:
IOException
MalformedURLException

deconfigure

public void deconfigure(WebAppContext context)
                 throws Exception
从接口 Configuration 复制的描述
DeConfigure WebApp. This method is called to undo all configuration done. This is called to allow the context to work correctly over a stop/start cycle

指定者:
接口 Configuration 中的 deconfigure
覆盖:
AbstractConfiguration 中的 deconfigure
参数:
context - The context to configure
抛出:
Exception


Copyright © 2013. All Rights Reserved.