public enum JMSNotificationType extends Enum<JMSNotificationType> implements NotificationType
| Enum Constant and Description |
|---|
CONNECTION_FACTORY_CREATED |
CONNECTION_FACTORY_DESTROYED |
QUEUE_CREATED |
QUEUE_DESTROYED |
TOPIC_CREATED |
TOPIC_DESTROYED |
| Modifier and Type | Field and Description |
|---|---|
static SimpleString |
MESSAGE |
| Modifier and Type | Method and Description |
|---|---|
int |
getType() |
static JMSNotificationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JMSNotificationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JMSNotificationType QUEUE_CREATED
public static final JMSNotificationType QUEUE_DESTROYED
public static final JMSNotificationType TOPIC_CREATED
public static final JMSNotificationType TOPIC_DESTROYED
public static final JMSNotificationType CONNECTION_FACTORY_CREATED
public static final JMSNotificationType CONNECTION_FACTORY_DESTROYED
public static final SimpleString MESSAGE
public static JMSNotificationType[] values()
for (JMSNotificationType c : JMSNotificationType.values()) System.out.println(c);
public static JMSNotificationType 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 nullpublic int getType()
getType in interface NotificationTypeCopyright © 2018 The Apache Software Foundation. All rights reserved.