Package org.gcube.smartgears
Interface ApplicationManager
public interface ApplicationManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidonInit()default voidonPublished(org.gcube.smartgears.publishing.Publication publication) Called when the resource of the application has reached the Context of this manager in a system it is published in, with the secret of that Context set as foronInit().void
-
Method Details
-
onInit
void onInit() -
onShutdown
void onShutdown() -
onPublished
default void onPublished(org.gcube.smartgears.publishing.Publication publication) Called when the resource of the application has reached the Context of this manager in a system it is published in, with the secret of that Context set as foronInit(). The managers are called one after the other, never two at once. A manager acts on the systems it knows and ignores the others.- Parameters:
publication- where the application is published in the system: the Contexts its resource is in, this one among them, and the ones it is still to reach
-