Package javax.enterprise.event
Class ImmutableNotificationOptions
java.lang.Object
javax.enterprise.event.ImmutableNotificationOptions
- All Implemented Interfaces:
NotificationOptions
The immutable implementation of
NotificationOptions
.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ImmutableNotificationOptions
(Executor executor, Map<String, Object> options) -
Method Summary
-
Field Details
-
executor
-
options
-
-
Constructor Details
-
ImmutableNotificationOptions
-
-
Method Details
-
getExecutor
- Specified by:
getExecutor
in interfaceNotificationOptions
- Returns:
- the executor used to execute an asynchronous event
-
get
- Specified by:
get
in interfaceNotificationOptions
- 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
-