org.eclipse.jetty.webapp
类 FragmentConfiguration

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

public class FragmentConfiguration
extends AbstractConfiguration

FragmentConfiguration Process web-fragments in jars


字段摘要
static String FRAGMENT_RESOURCES
           
 
构造方法摘要
FragmentConfiguration()
           
 
方法摘要
 void configure(WebAppContext context)
          Configure WebApp.
 void findWebFragments(WebAppContext context, MetaData metaData)
          Look for any web-fragment.xml fragments in META-INF of jars in WEB-INF/lib
 void postConfigure(WebAppContext context)
          Clear down after configuration.
 void preConfigure(WebAppContext context)
          Set up for configuration.
 
从类 org.eclipse.jetty.webapp.AbstractConfiguration 继承的方法
cloneConfigure, deconfigure, destroy
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

FRAGMENT_RESOURCES

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

FragmentConfiguration

public FragmentConfiguration()
方法详细信息

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

postConfigure

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

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

findWebFragments

public void findWebFragments(WebAppContext context,
                             MetaData metaData)
                      throws Exception
Look for any web-fragment.xml fragments in META-INF of jars in WEB-INF/lib

抛出:
Exception


Copyright © 2013. All Rights Reserved.