public enum JmsTopic extends Enum<JmsTopic>
JmsTopic describes the available kinds of topic.| Enum Constant and Description |
|---|
REMOTE_TEMPORARY_TOPIC |
TEMPORARY_TOPIC |
TOPIC |
| Modifier and Type | Method and Description |
|---|---|
static JmsTopic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JmsTopic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsTopic TOPIC
public static final JmsTopic TEMPORARY_TOPIC
public static final JmsTopic REMOTE_TEMPORARY_TOPIC
public static JmsTopic[] values()
for (JmsTopic c : JmsTopic.values()) System.out.println(c);
public static JmsTopic 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.