Class AppLifeCycle
java.lang.Object
org.eclipse.jetty.deploy.graph.Graph
org.eclipse.jetty.deploy.AppLifeCycle
The lifecycle of an App in the
DeploymentManager.
Setups a the default Graph, and manages the bindings to the life cycle via the AppLifeCycle.Binding
annotation.

-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBinding(AppLifeCycle.Binding binding) Get allNodebound objects.getBindings(String nodeName) Get all objects bound to a specificNodegetBindings(Node node) Get all objects bound to a specificNodevoidremoveBinding(AppLifeCycle.Binding binding) voidrunBindings(Node node, App app, DeploymentManager deploymentManager) Methods inherited from class Graph
addEdge, addEdge, addNode, findEdges, findEdgesFrom, getEdges, getNodeByName, getNodes, getPath, getPath, insertNode, insertNode, removeEdge, removeEdge, removeNode, setEdges, setNodes
-
Field Details
-
UNDEPLOYED
- See Also:
-
DEPLOYING
- See Also:
-
DEPLOYED
- See Also:
-
STARTING
- See Also:
-
STARTED
- See Also:
-
STOPPING
- See Also:
-
UNDEPLOYING
- See Also:
-
FAILED
- See Also:
-
-
Constructor Details
-
AppLifeCycle
public AppLifeCycle()
-
-
Method Details
-
addBinding
-
removeBinding
-
getBindings
Get allNodebound objects.- Returns:
- Set of Object(s) for all lifecycle bindings. never null.
-
getBindings
Get all objects bound to a specificNode- Parameters:
node- the deployment graph node- Returns:
- Set of Object(s) for specific lifecycle bindings. never null.
-
getBindings
Get all objects bound to a specificNode- Parameters:
nodeName- the node name- Returns:
- Set of Object(s) for specific lifecycle bindings. never null.
-
runBindings
- Throws:
Throwable
-