Package org.gcube.service.helloworld
Class HelloWorldManager
java.lang.Object
org.gcube.service.helloworld.HelloWorldManager
- All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager
This class is used to Manage the application initialization and shutdown per
context; The init and shutdown methods are called one per context in which
the app is running respectively at init and a shutdown time; the published
method is called in a context once the resource of the app has reached it in
a system the app is published in. It is connected
to the app declaring it via the @ManagedBy annotation (@see ResourceInitializer)
- Author:
- Lucio Lelii (ISTI-CNR)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInit()voidonPublished(org.gcube.smartgears.publishing.Publication publication) void
-
Constructor Details
-
HelloWorldManager
public HelloWorldManager()
-
-
Method Details
-
onInit
public void onInit()- Specified by:
onInitin interfaceorg.gcube.smartgears.ApplicationManager
-
onShutdown
public void onShutdown()- Specified by:
onShutdownin interfaceorg.gcube.smartgears.ApplicationManager
-
onPublished
public void onPublished(org.gcube.smartgears.publishing.Publication publication) - Specified by:
onPublishedin interfaceorg.gcube.smartgears.ApplicationManager
-