public interface ApplicationInstance
ApplicationInstance keeps the runtime state and behaviour of
an ApplicationType. Application providers will typically implement
the sub interfaces of this interface.SynchronousApplicationInstance,
AsynchronousApplicationInstance| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap(ActivityInstance activityInstance)
Callback allowing for initialization of newly created application instances.
|
void |
cleanup()
Callback to possibly cleanup resources.
|
Object |
getOutAccessPointValue(String name)
Callback used by the CARNOT engine when the corresponding activity instance
processes it's in data mappings.
|
void |
setInAccessPointValue(String name,
Object value)
Callback used by the CARNOT engine when the corresponding activity instance
processes it's in data mappings.
|
void bootstrap(ActivityInstance activityInstance)
activityInstance - The activity instances the application is executed on behalf
of.void setInAccessPointValue(String name, Object value)
name - the name of the IN or INOUT access pointvalue - the value at the access pointObject getOutAccessPointValue(String name)
name - the name of the OUT or INOUT access pointvoid cleanup()
Copyright © 2016 Eclipse Stardust. All Rights Reserved.