Class HelloWorldManager

java.lang.Object
org.gcube.service.helloworld.HelloWorldManager
All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager

public class HelloWorldManager extends Object implements 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. It is connected to the app declaring it via the @ManagedBy annotation (@see ResourceInitializer)
Author:
Lucio Lelii (ISTI-CNR)
  • Constructor Details

    • HelloWorldManager

      public HelloWorldManager()
  • Method Details

    • onInit

      public void onInit()
      Specified by:
      onInit in interface org.gcube.smartgears.ApplicationManager
    • onShutdown

      public void onShutdown()
      Specified by:
      onShutdown in interface org.gcube.smartgears.ApplicationManager