TPTP 4.1.0 Platform Project
Public API Specification

org.eclipse.hyades.automation.server
Class AbstractService

java.lang.Object
  extended byorg.eclipse.hyades.automation.core.AbstractService
      extended byorg.eclipse.hyades.automation.server.AbstractService
All Implemented Interfaces:
java.io.Serializable, Service
Direct Known Subclasses:
AbstractRelaunchableService, ConnectorService, HelloWorldService

public abstract class AbstractService
extends AbstractService

Abstract class for published services, service implementations will extend from this class, either directly or indirectly through additional value-added abstract service related classes (such as the ones referred to below in the reference section)

See Also:
AbstractRelaunchableService, AbstractWorkspaceSensitiveService, Serialized Form

Nested Class Summary
 
Nested classes inherited from class org.eclipse.hyades.automation.core.Service
Service.Discoverable, Service.Executable, Service.Requestable
 
Constructor Summary
AbstractService()
          Default constructor invokes up hierarchy for any initialization required
 
Method Summary
 java.lang.Object execute(ProgressiveTask.Synchronicity synchronicity)
          Execute the service
 
Methods inherited from class org.eclipse.hyades.automation.core.AbstractService
configure, createMemento, getIdentifier, getProperties, getProperty, getProperty, getRoot, setMemento
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.automation.core.Service
execute
 

Constructor Detail

AbstractService

public AbstractService()
Default constructor invokes up hierarchy for any initialization required

Method Detail

execute

public java.lang.Object execute(ProgressiveTask.Synchronicity synchronicity)
Description copied from interface: Service
Execute the service

Parameters:
synchronicity - specifies if this calls blocks or not
Returns:
return the return value, the return value currently only contains the java process execute command, unidirectional communication is only possible

TPTP 4.1.0 Platform Project
Public API Specification