Package org.gcube.vremanagement.executor
Class SmartExecutorManager
java.lang.Object
org.gcube.vremanagement.executor.SmartExecutorManager
- All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager
- Author:
- Luca Frosini (ISTI - CNR)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonInit()The method discover the plugins available on classpath and their own supported capabilities and publish a ServiceEndpoint with the discovered information.voidThis function is invoked before the service will stop and unpublish the resource from the IS to maintain the infrastructure integrity.
-
Field Details
-
JOIN_TIMEOUT
public static final long JOIN_TIMEOUT- See Also:
-
NAME
-
initialised
public static boolean initialised
-
-
Constructor Details
-
SmartExecutorManager
public SmartExecutorManager()
-
-
Method Details
-
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:
onInitin interfaceorg.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:
onShutdownin interfaceorg.gcube.smartgears.ApplicationManager
-