org.eclipse.jetty.deploy.bindings
类 GlobalWebappConfigBinding

java.lang.Object
  继承者 org.eclipse.jetty.deploy.bindings.GlobalWebappConfigBinding
所有已实现的接口:
AppLifeCycle.Binding

public class GlobalWebappConfigBinding
extends Object
implements AppLifeCycle.Binding

Provides a way of globally setting various aspects of webapp contexts. Adding this binding will allow the user to arbitrarily apply a file of jetty-web.xml like settings to a webapp context. Example usage would be: - adding a server or system class setting to all webapp contexts - adding an override descriptor Note: Currently properties from startup will not be available for reference.


构造方法摘要
GlobalWebappConfigBinding()
           
 
方法摘要
 String[] getBindingTargets()
          Get a list of targets that this implementation should bind to.
 String getJettyXml()
           
 void processBinding(Node node, App app)
          Event called to process a AppLifeCycle binding.
 void setJettyXml(String jettyXml)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

GlobalWebappConfigBinding

public GlobalWebappConfigBinding()
方法详细信息

getJettyXml

public String getJettyXml()

setJettyXml

public void setJettyXml(String jettyXml)

getBindingTargets

public String[] getBindingTargets()
从接口 AppLifeCycle.Binding 复制的描述
Get a list of targets that this implementation should bind to.

指定者:
接口 AppLifeCycle.Binding 中的 getBindingTargets
返回:
the array of String node names to bind to. (use "*" to bind to all known node names)

processBinding

public void processBinding(Node node,
                           App app)
                    throws Exception
从接口 AppLifeCycle.Binding 复制的描述
Event called to process a AppLifeCycle binding.

指定者:
接口 AppLifeCycle.Binding 中的 processBinding
参数:
node - the node being processed
app - the app being processed
抛出:
Exception - if any problem severe enough to halt the AppLifeCycle processing


Copyright © 2013. All Rights Reserved.