Package org.gcube.vremanagement.executor
Class SmartExecutorInitializator
- java.lang.Object
-
- org.gcube.vremanagement.executor.SmartExecutorInitializator
-
- All Implemented Interfaces:
org.gcube.smartgears.ApplicationManager
public class SmartExecutorInitializator extends Object implements org.gcube.smartgears.ApplicationManager
- Author:
- Luca Frosini (ISTI - CNR)
-
-
Field Summary
Fields Modifier and Type Field Description static longJOIN_TIMEOUT
-
Constructor Summary
Constructors Constructor Description SmartExecutorInitializator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonInit()The method discover the plugins available on classpath and their own supported capabilities and publish a ServiceEndpoint with the discovered information.voidonShutdown()This function is invoked before the service will stop and unpublish the resource from the IS to maintain the infrastructure integrity.
-
-
-
Field Detail
-
JOIN_TIMEOUT
public static final long JOIN_TIMEOUT
- See Also:
- Constant Field Values
-
-
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:
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
-
-