org.eclipse.jetty.webapp
类 MetaInfConfiguration

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

public class MetaInfConfiguration
extends AbstractConfiguration

MetaInfConfiguration Scan META-INF of all jars in WEB-INF/lib to find:


字段摘要
static String METAINF_FRAGMENTS
           
static String METAINF_RESOURCES
           
static String METAINF_TLDS
           
 
构造方法摘要
MetaInfConfiguration()
           
 
方法摘要
 void addResource(WebAppContext context, String attribute, Resource jar)
           
 void configure(WebAppContext context)
          Configure WebApp.
 void deconfigure(WebAppContext context)
          DeConfigure WebApp.
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Set up for configuration.
protected  void processEntry(WebAppContext context, URI jarUri, JarEntry entry)
           
 
从类 org.eclipse.jetty.webapp.AbstractConfiguration 继承的方法
cloneConfigure, destroy
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

METAINF_TLDS

public static final String METAINF_TLDS
另请参见:
常量字段值

METAINF_FRAGMENTS

public static final String METAINF_FRAGMENTS
另请参见:
常量字段值

METAINF_RESOURCES

public static final String METAINF_RESOURCES
另请参见:
常量字段值
构造方法详细信息

MetaInfConfiguration

public MetaInfConfiguration()
方法详细信息

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
从接口 Configuration 复制的描述
Configure WebApp.

Typically this step applies the discovered configuration resources to either the WebAppContext or the associated MetaData.

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

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

postConfigure

public void postConfigure(WebAppContext context)
                   throws Exception
从接口 Configuration 复制的描述
Clear down after configuration.

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

addResource

public void addResource(WebAppContext context,
                        String attribute,
                        Resource jar)

processEntry

protected void processEntry(WebAppContext context,
                            URI jarUri,
                            JarEntry entry)


Copyright © 2013. All Rights Reserved.