public enum JmsQueue extends Enum<JmsQueue>
JmsQueue describes the available kinds of queue.| Enum Constant and Description |
|---|
QUEUE |
REMOTE_TEMPORARY_QUEUE |
TEMPORARY_QUEUE |
| Modifier and Type | Method and Description |
|---|---|
static JmsQueue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmsQueue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsQueue QUEUE
public static final JmsQueue TEMPORARY_QUEUE
public static final JmsQueue REMOTE_TEMPORARY_QUEUE
public static JmsQueue[] values()
for (JmsQueue c : JmsQueue.values()) System.out.println(c);
public static JmsQueue 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 © 2015. All Rights Reserved.