Package jadex.bpmn.runtime.handler
Class EventIntermediateTimerActivityHandler
java.lang.Object
jadex.bpmn.runtime.handler.DefaultActivityHandler
jadex.bpmn.runtime.handler.AbstractEventIntermediateTimerActivityHandler
jadex.bpmn.runtime.handler.EventIntermediateTimerActivityHandler
- All Implemented Interfaces:
IActivityHandler
public class EventIntermediateTimerActivityHandler
extends AbstractEventIntermediateTimerActivityHandler
Uses timer service for implementing waiting.
//Simple platform specific timer implementation.
//Uses java.util.Timer for testing purposes.
-
Field Summary
Fields inherited from class jadex.bpmn.runtime.handler.AbstractEventIntermediateTimerActivityHandler
TICK_TIMER, TIMER_EVENT
Fields inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
DEBUG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doWait
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread, long duration) Template method to be implemented by platform-specific subclasses.Methods inherited from class jadex.bpmn.runtime.handler.AbstractEventIntermediateTimerActivityHandler
cancel, execute
Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
doExecute, getBpmnFeature
-
Constructor Details
-
EventIntermediateTimerActivityHandler
public EventIntermediateTimerActivityHandler()
-
-
Method Details
-
doWait
public void doWait(MActivity activity, jadex.core.IComponent instance, ProcessThread thread, long duration) Template method to be implemented by platform-specific subclasses.- Specified by:
doWait
in classAbstractEventIntermediateTimerActivityHandler
- Parameters:
activity
- The timing event activity.instance
- The process instance.thread
- The process thread.duration
- The duration to wait.
-