org.eclipse.jetty.plus.webapp
类 EnvConfiguration

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

public class EnvConfiguration
extends AbstractConfiguration

EnvConfiguration


构造方法摘要
EnvConfiguration()
           
 
方法摘要
 void bindEnvEntries(WebAppContext context)
          Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them.
 void configure(WebAppContext context)
          Configure WebApp.
protected  void createEnvContext(WebAppContext wac)
           
 void deconfigure(WebAppContext context)
          Remove jndi setup from start
 void destroy(WebAppContext context)
          Remove all jndi setup
 void preConfigure(WebAppContext context)
          Set up for configuration.
 void setJettyEnvXml(URL url)
           
 
从类 org.eclipse.jetty.webapp.AbstractConfiguration 继承的方法
cloneConfigure, postConfigure
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

EnvConfiguration

public EnvConfiguration()
方法详细信息

setJettyEnvXml

public void setJettyEnvXml(URL url)

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
另请参见:
Configuration.configure(WebAppContext)

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
Remove jndi setup from start

指定者:
接口 Configuration 中的 deconfigure
覆盖:
AbstractConfiguration 中的 deconfigure
参数:
context - The context to configure
抛出:
Exception
另请参见:
Configuration.deconfigure(WebAppContext)

destroy

public void destroy(WebAppContext context)
             throws Exception
Remove all jndi setup

指定者:
接口 Configuration 中的 destroy
覆盖:
AbstractConfiguration 中的 destroy
参数:
context - The context to configure
抛出:
Exception
另请参见:
Configuration.deconfigure(WebAppContext)

bindEnvEntries

public void bindEnvEntries(WebAppContext context)
                    throws NamingException
Bind all EnvEntries that have been declared, so that the processing of the web.xml file can potentially override them. We first bind EnvEntries declared in Server scope, then WebAppContext scope.

抛出:
NamingException

createEnvContext

protected void createEnvContext(WebAppContext wac)
                         throws NamingException
抛出:
NamingException


Copyright © 2013. All Rights Reserved.