Class GlobalWebappConfigBinding
java.lang.Object
org.eclipse.jetty.deploy.bindings.GlobalWebappConfigBinding
- All Implemented Interfaces:
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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]Get a list of targets that this implementation should bind to.voidprocessBinding(Node node, App app) Event called to process aAppLifeCyclebinding.voidsetJettyXml(String jettyXml)
-
Constructor Details
-
GlobalWebappConfigBinding
public GlobalWebappConfigBinding()
-
-
Method Details
-
getJettyXml
-
setJettyXml
-
getBindingTargets
Description copied from interface:AppLifeCycle.BindingGet a list of targets that this implementation should bind to.- Specified by:
getBindingTargetsin interfaceAppLifeCycle.Binding- Returns:
- the array of String node names to bind to. (use
"*"to bind to all known node names)
-
processBinding
Description copied from interface:AppLifeCycle.BindingEvent called to process aAppLifeCyclebinding.- Specified by:
processBindingin interfaceAppLifeCycle.Binding- Parameters:
node- the node being processedapp- the app being processed- Throws:
Exception- if any problem severe enough to halt the AppLifeCycle processing
-