Class SmartExecutorInitializator

  • All Implemented Interfaces:
    org.gcube.smartgears.ApplicationManager

    public class SmartExecutorInitializator
    extends Object
    implements org.gcube.smartgears.ApplicationManager
    Author:
    Luca Frosini (ISTI - CNR)
    • Constructor Detail

      • SmartExecutorInitializator

        public SmartExecutorInitializator()
    • Method Detail

      • onInit

        public void onInit()
        The method discover the plugins available on classpath and their own supported capabilities and publish a ServiceEndpoint with the discovered information. Furthermore create/connect to DB
        Specified by:
        onInit in interface org.gcube.smartgears.ApplicationManager
      • onShutdown

        public void onShutdown()
        This function is invoked before the service will stop and unpublish the resource from the IS to maintain the infrastructure integrity. Furthermore close the connection to DB.
        Specified by:
        onShutdown in interface org.gcube.smartgears.ApplicationManager