public class SmartExecutorInitalizator
extends org.gcube.smartgears.handlers.application.ApplicationLifecycleHandler
| Modifier and Type | Field and Description |
|---|---|
protected static org.gcube.smartgears.context.application.ApplicationContext |
ctx
The application context
|
protected static JDBCPersistenceConnector |
jdbcPersistenceConnector
Represent the connector to DB
|
static long |
JOIN_TIMEOUT |
protected static SmartExecutorScheduler |
smartExecutorScheduler
the Smart executor Scheduler used for task execution
|
| Constructor and Description |
|---|
SmartExecutorInitalizator() |
| 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 org.gcube.smartgears.context.application.ApplicationContext |
getCtx() |
static JDBCPersistenceConnector |
getJdbcPersistenceConnector() |
static List<String> |
getScopes(org.gcube.smartgears.context.application.ApplicationContext applicationContext) |
static SmartExecutorScheduler |
getSmartExecutorScheduler() |
void |
onStart(org.gcube.smartgears.handlers.application.ApplicationLifecycleEvent.Start applicationLifecycleEventStart) |
void |
onStop(org.gcube.smartgears.handlers.application.ApplicationLifecycleEvent.Stop applicationLifecycleEventStop) |
public static final long JOIN_TIMEOUT
protected static JDBCPersistenceConnector jdbcPersistenceConnector
protected static org.gcube.smartgears.context.application.ApplicationContext ctx
protected static SmartExecutorScheduler smartExecutorScheduler
public static JDBCPersistenceConnector getJdbcPersistenceConnector()
public static org.gcube.smartgears.context.application.ApplicationContext getCtx()
public static SmartExecutorScheduler getSmartExecutorScheduler()
protected static org.gcube.common.resources.gcore.ServiceEndpoint createServiceEndpoint()
ServiceEndpointpublic static List<String> getScopes(org.gcube.smartgears.context.application.ApplicationContext applicationContext)
public void onStart(org.gcube.smartgears.handlers.application.ApplicationLifecycleEvent.Start applicationLifecycleEventStart)
onStart in class org.gcube.smartgears.handlers.application.ApplicationLifecycleHandlerpublic void onStop(org.gcube.smartgears.handlers.application.ApplicationLifecycleEvent.Stop applicationLifecycleEventStop)
onStop in class org.gcube.smartgears.handlers.application.ApplicationLifecycleHandlerCopyright © 2015. All Rights Reserved.