Interface ActivityEventSource<T extends Event>
-
- Type Parameters:
T
- The type of events this event source creates.
- All Superinterfaces:
EventSource<T>
,Runnable
- All Known Implementing Classes:
AbstractSharingActEventSource
,DBActivityEventSource
,FileEventActivitySource
,FilteredMailEventActivitySource
,MailEventActivitySource
public interface ActivityEventSource<T extends Event> extends EventSource<T>
An event source that creates events for specific activities. These activities usually need to wait until a specific event occurs. The event causes the activities to be executed, and terminated. Some arbitrary data from the event is written to the output parameter of the activity. Since the event usually depends on the activity configuration and it requires some activity specific data like theEBPInstanceReference
or the session ID, an activity event source gets a simple session context in its configuration.- Author:
- Ulrich Kreher
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONF_SIMPLE_SESSION_CONTEXT
Configuration key for the simple session context of the activity that is provided to the event source.
-
Method Summary
-
Methods inherited from interface de.aristaflow.adept2.model.events.sources.EventSource
addAll, addHandler, getEventHandler, getHierarchicalSourceName, getID, getType, removeHandler, setConfiguration
-
-
-
-
Field Detail
-
CONF_SIMPLE_SESSION_CONTEXT
static final String CONF_SIMPLE_SESSION_CONTEXT
Configuration key for the simple session context of the activity that is provided to the event source.- See Also:
- Constant Field Values
-
-