|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<AepEventDispatcher.DefaultHandlerDispatchPolicy>
com.neeve.aep.AepEventDispatcher.DefaultHandlerDispatchPolicy
public static enum AepEventDispatcher.DefaultHandlerDispatchPolicy
Enumerates the various default handler dispatch policies
| Enum Constant Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AepEventDispatcher.DefaultHandlerDispatchPolicy DispatchAlways
public static final AepEventDispatcher.DefaultHandlerDispatchPolicy DispatchIfNoAnnotatedHandlers
Note: This is the default handler dispatch policy
| Method Detail |
|---|
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 name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||