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
ConstructorsModifierConstructorDescriptionprivateImmutableNotificationOptions(Executor executor, Map<String, Object> options) -
Method Summary
-
Field Details
-
executor
-
options
-
-
Constructor Details
-
ImmutableNotificationOptions
-
-
Method Details
-
getExecutor
- Specified by:
getExecutorin interfaceNotificationOptions- Returns:
- the executor used to execute an asynchronous event
-
get
- Specified by:
getin interfaceNotificationOptions- Parameters:
name- name of the option to get value of- Returns:
- the value of an option or
nullif no option for the given name exists
-