|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<JMSControl.DestinationType>
JMSControl.DestinationType
public static enum JMSControl.DestinationType
The destination type.
Enum Constant Summary | |
---|---|
Auto
The destination is set from the object obtained from JNDI. |
|
Queue
The destination must be a javax.jms.QueueSender. |
|
Topic
The destination must be a javax.jms.TopicPublisher. |
Method Summary | |
---|---|
static JMSControl.DestinationType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JMSControl.DestinationType[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JMSControl.DestinationType Auto
public static final JMSControl.DestinationType Queue
public static final JMSControl.DestinationType Topic
Method Detail |
---|
public static final JMSControl.DestinationType[] values()
for(JMSControl.DestinationType c : JMSControl.DestinationType.values()) System.out.println(c);
public static JMSControl.DestinationType 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |