Package org.eclipse.jetty.deploy
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addBinding
(AppLifeCycle.Binding binding) Get allNode
bound objects.getBindings
(String nodeName) Get all objects bound to a specificNode
getBindings
(Node node) Get all objects bound to a specificNode
void
removeBinding
(AppLifeCycle.Binding binding) void
runBindings
(Node node, App app, DeploymentManager deploymentManager) Methods inherited from class org.eclipse.jetty.deploy.graph.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 allNode
bound 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
-