|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.core.utils.handlers.GCUBEServiceClientImpl
org.gcube.common.core.state.GCUBEStatefulResource<org.gcube.common.core.state.GCUBEWSResourceKey>
org.gcube.common.core.state.GCUBEWSResource
org.gcube.vremanagement.executor.state.EngineResource
public class EngineResource
Specialises GCUBEWSResource for the singleton resource of the engine.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
|---|
org.gcube.common.core.state.GCUBEStatefulResource.LOCK, org.gcube.common.core.state.GCUBEStatefulResource.TaskContext |
| Field Summary |
|---|
| Fields inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
|---|
logger, uuidGen |
| Constructor Summary | |
|---|---|
EngineResource()
|
|
| Method Summary | |
|---|---|
ExecutorPluginContext |
getContext(String name)
Returns the context of a plugin with a given name. |
String[] |
getPropertyNames()
|
protected void |
initialise(Object... args)
|
TaskResource |
launch(String name,
org.gcube.vremanagement.executor.stubs.AnyMap input)
Launch a task with a given name and a given input. |
| Methods inherited from class org.gcube.common.core.state.GCUBEWSResource |
|---|
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublish |
| Methods inherited from class org.gcube.common.core.state.GCUBEStatefulResource |
|---|
getID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask, store |
| Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEServiceClientImpl |
|---|
getPortTypeMap, setPortTypeMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.globus.wsrf.PersistenceCallback |
|---|
store |
| Constructor Detail |
|---|
public EngineResource()
| Method Detail |
|---|
protected void initialise(Object... args)
throws Exception,
IllegalArgumentException
initialise in class org.gcube.common.core.state.GCUBEWSResourceException
IllegalArgumentException
public ExecutorPluginContext getContext(String name)
throws Exception
name - the name.
Exception
public TaskResource launch(String name,
org.gcube.vremanagement.executor.stubs.AnyMap input)
throws Exception
name - the name.input - the input.
TaskResource that models the execution of the task.
Exception - if the task did not exist or could not be launched.public String[] getPropertyNames()
getPropertyNames in class org.gcube.common.core.state.GCUBEWSResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||