public static enum JmsDestination.DestinationType extends java.lang.Enum<JmsDestination.DestinationType>
Modifier and Type | Method and Description |
---|---|
abstract javax.jms.Destination |
create(VendorImplementationBase vendor,
JmsActorConfig c,
java.lang.String name) |
abstract javax.jms.Destination |
createTemporaryDestination(javax.jms.Session c) |
static JmsDestination.DestinationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JmsDestination.DestinationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JmsDestination.DestinationType QUEUE
public static final JmsDestination.DestinationType TOPIC
public static JmsDestination.DestinationType[] values()
for (JmsDestination.DestinationType c : JmsDestination.DestinationType.values()) System.out.println(c);
public static JmsDestination.DestinationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract javax.jms.Destination create(VendorImplementationBase vendor, JmsActorConfig c, java.lang.String name) throws javax.jms.JMSException
javax.jms.JMSException
public abstract javax.jms.Destination createTemporaryDestination(javax.jms.Session c) throws javax.jms.JMSException
javax.jms.JMSException