Class GreetingPreparation
java.lang.Object
org.gcube.service.helloworld.context.GreetingPreparation
- All Implemented Interfaces:
org.gcube.common.health.api.ContextPreparation
public class GreetingPreparation
extends Object
implements org.gcube.common.health.api.ContextPreparation
How the service prepares itself in each of its Contexts: a real service reads or creates its
configuration there; this one only notes when it was prepared. SmartGears calls it in each Context
of the node, with the secret of that Context, and shows the state per Context in the health.
- Author:
- Luca Frosini (ISTI-CNR)
-
Constructor Details
-
GreetingPreparation
public GreetingPreparation()
-
-
Method Details
-
prepare
public org.gcube.common.health.api.ContextState prepare()- Specified by:
preparein interfaceorg.gcube.common.health.api.ContextPreparation
-
state
public org.gcube.common.health.api.ContextState state()- Specified by:
statein interfaceorg.gcube.common.health.api.ContextPreparation
-
removed
- Specified by:
removedin interfaceorg.gcube.common.health.api.ContextPreparation
-