Annotation Interface DeadlineHandler


Annotation used to mark handlers which are capable of handling a DeadlineMessage. It is a specialization of MessageHandler were the messageType is set to DeadlineMessage. Hence, any parameter injections which works for event handlers work for deadline handlers as well.
Since:
3.3
Author:
Milan Savic, Steven van Beelen
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The name of the Deadline this handler listens to.
    Specifies the type of message payload that can be handled by the member method.
  • Element Details

    • deadlineName

      String deadlineName
      The name of the Deadline this handler listens to. Defaults to the fully qualified class name of the payload type (i.e. first parameter).
      Returns:
      The name of the deadline as a String
      Default:
      ""
    • payloadType

      Class<?> payloadType
      Specifies the type of message payload that can be handled by the member method. The payload of the message should be assignable to this type. Defaults to any Object.
      Default:
      java.lang.Object.class