org.hornetq.jms.management.impl
Enum JMSServerControlImpl.NotificationType

java.lang.Object
  extended by java.lang.Enum<JMSServerControlImpl.NotificationType>
      extended by org.hornetq.jms.management.impl.JMSServerControlImpl.NotificationType
All Implemented Interfaces:
Serializable, Comparable<JMSServerControlImpl.NotificationType>
Enclosing class:
JMSServerControlImpl

public static enum JMSServerControlImpl.NotificationType
extends Enum<JMSServerControlImpl.NotificationType>


Enum Constant Summary
CONNECTION_FACTORY_CREATED
           
CONNECTION_FACTORY_DESTROYED
           
QUEUE_CREATED
           
QUEUE_DESTROYED
           
TOPIC_CREATED
           
TOPIC_DESTROYED
           
 
Method Summary
static JMSServerControlImpl.NotificationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static JMSServerControlImpl.NotificationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

QUEUE_CREATED

public static final JMSServerControlImpl.NotificationType QUEUE_CREATED

QUEUE_DESTROYED

public static final JMSServerControlImpl.NotificationType QUEUE_DESTROYED

TOPIC_CREATED

public static final JMSServerControlImpl.NotificationType TOPIC_CREATED

TOPIC_DESTROYED

public static final JMSServerControlImpl.NotificationType TOPIC_DESTROYED

CONNECTION_FACTORY_CREATED

public static final JMSServerControlImpl.NotificationType CONNECTION_FACTORY_CREATED

CONNECTION_FACTORY_DESTROYED

public static final JMSServerControlImpl.NotificationType CONNECTION_FACTORY_DESTROYED
Method Detail

values

public static JMSServerControlImpl.NotificationType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (JMSServerControlImpl.NotificationType c : JMSServerControlImpl.NotificationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static JMSServerControlImpl.NotificationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.