org.eclipse.stardust.engine.core.spi.extensions.runtime
Interface SynchronousApplicationInstance

All Superinterfaces:
ApplicationInstance

public interface SynchronousApplicationInstance
extends ApplicationInstance

Describes the contract to implement the runtime behaviour of a synchronous application type. It contains the callbacks the CARNOT engine needs to sucessfully run a synchronous application.

Version:
$Revision$
Author:
rsauer, ubirkemeyer

Method Summary
 Map invoke(Set outDataTypes)
          Callback used by the CARNOT engine when the corresponding activity instance is run.
 
Methods inherited from interface org.eclipse.stardust.engine.core.spi.extensions.runtime.ApplicationInstance
bootstrap, cleanup, getOutAccessPointValue, setInAccessPointValue
 

Method Detail

invoke

Map invoke(Set outDataTypes)
           throws InvocationTargetException
Callback used by the CARNOT engine when the corresponding activity instance is run.

Parameters:
outDataTypes - A set of AccessPointBean names to be expected as return values. This is filled by the CARNOT engine and is an optimization hint to prevent the application instance to evaluate all possible OUT AccessPoints.
Returns:
A map with the provided AccessPointBean names as keys and the values at this access points as values.
Throws:
InvocationTargetException - Any exception thrown during execution of the application has to be delivered via this exception.


Copyright © 2017 Eclipse Stardust. All Rights Reserved.