Interface ResumingRuntimeManager
public interface ResumingRuntimeManager
This runtime manager provides the means to automatically resume a suspended
activity. An activity may signal to be resumed after a designated time via
The resuming has to be done by a service that has its own worklist, for instance an automatic client since resuming should always be initiated via a worklist.
RuntimeEnvironment.applicationSuspended(long).
Such a request is forwarded by this interface and allows an automatic client
to resume the corresponding instance. The resuming has to be done by a service that has its own worklist, for instance an automatic client since resuming should always be initiated via a worklist.
A runtime manager may implement this interface. If it does not, the using service will not be able to automatically resume activities. The service may then either fail or just continue with limited functions.
- Author:
- Ulrich Kreher
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA service that is able to automatically resume activities after a designated time period receives a request for this operation via this interface. -
Method Summary
Modifier and TypeMethodDescriptionvoidderegisterAutomaticResumer(ResumingRuntimeManager.AutomaticResumer automaticResumer) Deregisters a service that provides the means to resume an activity automatically.voidregisterAutomaticResumer(ResumingRuntimeManager.AutomaticResumer automaticResumer) Registers a service that provides the means to resume an activity automatically.
-
Method Details
-
registerAutomaticResumer
Registers a service that provides the means to resume an activity automatically.- Parameters:
automaticResumer- The service providing the means to resume an activity automatically.
-
deregisterAutomaticResumer
Deregisters a service that provides the means to resume an activity automatically. If the designated service has not been registered yet, the method call will be ignored.- Parameters:
automaticResumer- The service providing the means to resume an activity automatically.
-