public static enum AepEventDispatcher.DefaultHandlerDispatchPolicy extends Enum<AepEventDispatcher.DefaultHandlerDispatchPolicy>
Enum Constant and Description |
---|
DispatchAlways
Indicates that an event is always dispatched to the default
handler (if registered) even if it was dispatched to one or
more annotated handlers.
|
DispatchIfNoAnnotatedHandlers
Indicates that an event/message is dispatched to the default
handler only if the event/message was not dispatched to no
annotated event handlers.
|
Modifier and Type | Method and Description |
---|---|
static AepEventDispatcher.DefaultHandlerDispatchPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AepEventDispatcher.DefaultHandlerDispatchPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AepEventDispatcher.DefaultHandlerDispatchPolicy DispatchAlways
public static final AepEventDispatcher.DefaultHandlerDispatchPolicy DispatchIfNoAnnotatedHandlers
Note: This is the default handler dispatch policy
public static AepEventDispatcher.DefaultHandlerDispatchPolicy[] values()
for (AepEventDispatcher.DefaultHandlerDispatchPolicy c : AepEventDispatcher.DefaultHandlerDispatchPolicy.values()) System.out.println(c);
public static AepEventDispatcher.DefaultHandlerDispatchPolicy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019 Neeve Research, LLC. All Rights Reserved.