Class ImmutableNotificationOptions

java.lang.Object
javax.enterprise.event.ImmutableNotificationOptions
All Implemented Interfaces:
NotificationOptions

class ImmutableNotificationOptions extends Object implements NotificationOptions
The immutable implementation of NotificationOptions.
  • Field Details

  • Constructor Details

    • ImmutableNotificationOptions

      private ImmutableNotificationOptions(Executor executor, Map<String,Object> options)
  • Method Details

    • getExecutor

      public Executor getExecutor()
      Specified by:
      getExecutor in interface NotificationOptions
      Returns:
      the executor used to execute an asynchronous event
    • get

      public Object get(String name)
      Specified by:
      get in interface NotificationOptions
      Parameters:
      name - name of the option to get value of
      Returns:
      the value of an option or null if no option for the given name exists