public class SmartExecutorInitializator extends Object implements org.gcube.smartgears.ApplicationManager
| Modifier and Type | Field and Description |
|---|---|
static long |
JOIN_TIMEOUT |
| Constructor and Description |
|---|
SmartExecutorInitializator() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.gcube.common.resources.gcore.ServiceEndpoint |
createServiceEndpoint()
Create the Service Endpoint using information related to discovered
available plugins and their own discovered capabilities
|
static String |
getScopeFromToken() |
void |
onInit()
The method discover the plugins available on classpath and their own
supported capabilities and publish a ServiceEndpoint with the
discovered information.
|
void |
onShutdown()
This function is invoked before the service will stop and unpublish the
resource from the IS to maintain the infrastructure integrity.
|
public static final long JOIN_TIMEOUT
public static String getScopeFromToken()
protected static org.gcube.common.resources.gcore.ServiceEndpoint createServiceEndpoint()
ServiceEndpointpublic void onInit()
onInit in interface org.gcube.smartgears.ApplicationManagerpublic void onShutdown()
onShutdown in interface org.gcube.smartgears.ApplicationManagerCopyright © 2016. All Rights Reserved.