public static enum Message.Destination extends Enum<Message.Destination>
Enum Constant and Description |
---|
CLIENTS
The message will be delivered to clients.
|
LISTENERS
The message will be delivered to the listeners of the sending component.
|
RECORDERS
The message will be delivered to recorders.
|
SESSION
The message will be delivered to the session.
|
Modifier and Type | Method and Description |
---|---|
static Message.Destination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.Destination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.Destination RECORDERS
public static final Message.Destination CLIENTS
public static final Message.Destination SESSION
public static final Message.Destination LISTENERS
public static Message.Destination[] values()
for (Message.Destination c : Message.Destination.values()) System.out.println(c);
public static Message.Destination 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 null© Copyright IBM Corp. 2013. All rights reserved.