org.gcube.vremanagement.executor.porttypes
Class EnginePT

java.lang.Object
  extended by org.gcube.common.core.porttypes.GCUBEPortType
      extended by org.gcube.vremanagement.executor.porttypes.EnginePT
All Implemented Interfaces:
javax.xml.rpc.server.ServiceLifecycle

public class EnginePT
extends org.gcube.common.core.porttypes.GCUBEPortType

Implements the engine port-type of the Executor service.

The port-type offers facilities to launch tasks.

Author:
Fabio Simeoni (University of Strathclyde), Kostantinos Liaskov (University of Strathclyde)

Field Summary
 
Fields inherited from class org.gcube.common.core.porttypes.GCUBEPortType
initialized, logger
 
Constructor Summary
EnginePT()
           
 
Method Summary
protected  org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()
          
 org.apache.axis.message.addressing.EndpointReferenceType launch(org.gcube.vremanagement.executor.stubs.LaunchParameters parameters)
          Launches a task with given parameters.
 
Methods inherited from class org.gcube.common.core.porttypes.GCUBEPortType
destroy, init, onFailure, onInitialisation, onReady, onStateChange, onUpdate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnginePT

public EnginePT()
Method Detail

getServiceContext

protected org.gcube.common.core.contexts.GCUBEServiceContext getServiceContext()

Specified by:
getServiceContext in class org.gcube.common.core.porttypes.GCUBEPortType

launch

public org.apache.axis.message.addressing.EndpointReferenceType launch(org.gcube.vremanagement.executor.stubs.LaunchParameters parameters)
                                                                throws org.gcube.common.core.faults.GCUBEFault
Launches a task with given parameters.

Parameters:
parameters - the parameters.
Returns:
the reference to a WS-Resource that models the execution of the task.
Throws:
org.gcube.common.core.faults.GCUBEFault - if the a task with that name did not exist or could not be launched.


Copyright © 2013. All Rights Reserved.