Interface WeldNotificationOptions

  • All Superinterfaces:
    jakarta.enterprise.event.NotificationOptions

    public interface WeldNotificationOptions
    extends jakarta.enterprise.event.NotificationOptions
    The Event.fireAsync(Object, NotificationOptions) method allows to configure the notification of asynchronous observer methods.

    Weld defines the following non-portable options:

    Since:
    3.0
    Author:
    Martin Kouba
    See Also:
    Event.fireAsync(Object, NotificationOptions)
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static class  WeldNotificationOptions.NotificationMode  
      • Nested classes/interfaces inherited from interface jakarta.enterprise.event.NotificationOptions

        jakarta.enterprise.event.NotificationOptions.Builder
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String MODE
      Makes it possible to specify that observer methods should be notified in parallel (if supported).
      static String TIMEOUT
      Makes it possible to specify a timeout (in milliseconds) after which the returned completion stage must be completed.
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static jakarta.enterprise.event.NotificationOptions withParallelMode()  
      static jakarta.enterprise.event.NotificationOptions withTimeout​(long timeout)  
      • Methods inherited from interface jakarta.enterprise.event.NotificationOptions

        get, getExecutor