Class ContainerLifecycle
- java.lang.Object
-
- org.gcube.smartgears.lifecycle.DefaultLifecycle<ContainerState>
-
- org.gcube.smartgears.lifecycle.container.ContainerLifecycle
-
- All Implemented Interfaces:
Lifecycle<ContainerState>
public class ContainerLifecycle extends DefaultLifecycle<ContainerState>
TheLifecycleof the application container.- Author:
- Fabio Simeoni
-
-
Field Summary
Fields Modifier and Type Field Description static StringactivationThe event qualifier that correspond to theContainerState.partActivestate of the container lifecycle.static StringfailureThe event qualifier that correspond to theContainerState#fastate of the container lifecycle.static Stringpart_activationThe event qualifier that correspond to theContainerState.activestate of the container lifecycle.static StringpendingThe event qualifier that correspond to theContainerState#pendingstate of the container lifecycle.static StringshutdownThe event qualifier that correspond to theContainerState.stoppedstate of the container lifecycle.static StringstartThe event qualifier that correspond to theContainerState.startedstate of the container lifecycle.static StringstopThe event qualifier that correspond to theContainerState.stoppedstate of the container lifecycle.
-
Constructor Summary
Constructors Constructor Description ContainerLifecycle(org.gcube.common.events.Hub hub)Creates an instance with an eventHub.
-
-
-
Field Detail
-
pending
public static final String pending
The event qualifier that correspond to theContainerState#pendingstate of the container lifecycle.- See Also:
- Constant Field Values
-
start
public static final String start
The event qualifier that correspond to theContainerState.startedstate of the container lifecycle.- See Also:
- Constant Field Values
-
activation
public static final String activation
The event qualifier that correspond to theContainerState.partActivestate of the container lifecycle.- See Also:
- Constant Field Values
-
part_activation
public static final String part_activation
The event qualifier that correspond to theContainerState.activestate of the container lifecycle.- See Also:
- Constant Field Values
-
stop
public static final String stop
The event qualifier that correspond to theContainerState.stoppedstate of the container lifecycle.- See Also:
- Constant Field Values
-
shutdown
public static final String shutdown
The event qualifier that correspond to theContainerState.stoppedstate of the container lifecycle.- See Also:
- Constant Field Values
-
failure
public static final String failure
The event qualifier that correspond to theContainerState#fastate of the container lifecycle.- See Also:
- Constant Field Values
-
-