Package io.temporal.workflow
Interface DynamicSignalHandler
-
public interface DynamicSignalHandlerUse DynamicSignalHandler to process any signal dynamically. This is useful for a library level code and implementation of DSLs.Use
Workflow.registerListener(Object)to register an implementation of the DynamicSignalListener. Only one such listener can be registered per workflow execution.When registered any signals which don't have a specific handler will be delivered to it.
- See Also:
DynamicQueryHandler,DynamicWorkflow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(java.lang.String signalName, EncodedValues args)
-
-
-
Method Detail
-
handle
void handle(java.lang.String signalName, EncodedValues args)
-
-