Class ApplicationLifecycle
- java.lang.Object
-
- org.gcube.smartgears.lifecycle.DefaultLifecycle<ApplicationState>
-
- org.gcube.smartgears.lifecycle.application.ApplicationLifecycle
-
- All Implemented Interfaces:
Lifecycle<ApplicationState>
public class ApplicationLifecycle extends DefaultLifecycle<ApplicationState>
TheLifecycleof an application.- Author:
- Fabio Simeoni
-
-
Field Summary
Fields Modifier and Type Field Description static StringactivationThe event qualifier that correspond to theApplicationState.activestate of the service lifecycle.static StringfailureThe event qualifier that correspond to theApplicationState.failedstate of the service lifecycle.static StringstartThe event qualifier that correspond to theApplicationState.startedstate of the service lifecycle.static StringstopThe event qualifier that correspond to the {@link ApplicationState#started#stopped} state of the service lifecycle.
-
Constructor Summary
Constructors Constructor Description ApplicationLifecycle(org.gcube.common.events.Hub hub, String name)
-
-
-
Field Detail
-
start
public static final String start
The event qualifier that correspond to theApplicationState.startedstate of the service lifecycle.- See Also:
- Constant Field Values
-
activation
public static final String activation
The event qualifier that correspond to theApplicationState.activestate of the service lifecycle.- See Also:
- Constant Field Values
-
stop
public static final String stop
The event qualifier that correspond to the {@link ApplicationState#started#stopped} state of the service lifecycle.- See Also:
- Constant Field Values
-
failure
public static final String failure
The event qualifier that correspond to theApplicationState.failedstate of the service lifecycle.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ApplicationLifecycle
public ApplicationLifecycle(org.gcube.common.events.Hub hub, String name)
-
-