Class ResourceRegistryManager

java.lang.Object
org.gcube.informationsystem.resourceregistry.ResourceRegistryManager
All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager

public class ResourceRegistryManager 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:
Luca Frosini (ISTI - CNR)
  • Constructor Details

    • ResourceRegistryManager

      public ResourceRegistryManager()
  • 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