public static enum MessageHandlerConfigurer.Type extends Enum<MessageHandlerConfigurer.Type>
| Enum Constant and Description |
|---|
COMMAND
Lists the message handler for
CommandMessages. |
EVENT
Lists the message handler for
EventMessages. |
QUERY
Lists the message handler for
QueryMessages. |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Message<?>> |
getMessageType()
Returns the supported
Message implementation. |
static MessageHandlerConfigurer.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageHandlerConfigurer.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageHandlerConfigurer.Type COMMAND
CommandMessages.public static final MessageHandlerConfigurer.Type EVENT
EventMessages.public static final MessageHandlerConfigurer.Type QUERY
QueryMessages.public static MessageHandlerConfigurer.Type[] values()
for (MessageHandlerConfigurer.Type c : MessageHandlerConfigurer.Type.values()) System.out.println(c);
public static MessageHandlerConfigurer.Type 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 © 2010–2023. All rights reserved.