Class OrderedGroupBinding
- java.lang.Object
-
- org.eclipse.jetty.deploy.bindings.OrderedGroupBinding
-
- All Implemented Interfaces:
AppLifeCycle.Binding
public class OrderedGroupBinding extends java.lang.Object implements AppLifeCycle.Binding
Provides a way of forcing the ordered execution of bindings within a declared binding target.
-
-
Constructor Summary
Constructors Constructor Description OrderedGroupBinding(java.lang.String[] bindingTargets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addBinding(AppLifeCycle.Binding binding)
void
addBindings(AppLifeCycle.Binding[] bindings)
java.lang.String[]
getBindingTargets()
Get a list of targets that this implementation should bind to.void
processBinding(Node node, App app)
Event called to process aAppLifeCycle
binding.
-
-
-
Method Detail
-
addBinding
public void addBinding(AppLifeCycle.Binding binding)
-
addBindings
public void addBindings(AppLifeCycle.Binding[] bindings)
-
getBindingTargets
public java.lang.String[] getBindingTargets()
Description copied from interface:AppLifeCycle.Binding
Get a list of targets that this implementation should bind to.- Specified by:
getBindingTargets
in interfaceAppLifeCycle.Binding
- Returns:
- 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 java.lang.Exception
Description copied from interface:AppLifeCycle.Binding
Event called to process aAppLifeCycle
binding.- Specified by:
processBinding
in interfaceAppLifeCycle.Binding
- Parameters:
node
- the node being processedapp
- the app being processed- Throws:
java.lang.Exception
- if any problem severe enough to halt the AppLifeCycle processing
-
-