org.jboss.messaging.core.management
Enum NotificationType

java.lang.Object
  extended by java.lang.Enum<NotificationType>
      extended by org.jboss.messaging.core.management.NotificationType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NotificationType>

public enum NotificationType
extends java.lang.Enum<NotificationType>

Author:
Jeff Mesnil

Enum Constant Summary
BINDING_ADDED
           
BINDING_REMOVED
           
CONSUMER_CLOSED
           
CONSUMER_CREATED
           
SECURITY_AUTHENTICATION_VIOLATION
           
SECURITY_PERMISSION_VIOLATION
           
 
Method Summary
 int intValue()
           
static NotificationType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NotificationType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BINDING_ADDED

public static final NotificationType BINDING_ADDED

BINDING_REMOVED

public static final NotificationType BINDING_REMOVED

CONSUMER_CREATED

public static final NotificationType CONSUMER_CREATED

CONSUMER_CLOSED

public static final NotificationType CONSUMER_CLOSED

SECURITY_AUTHENTICATION_VIOLATION

public static final NotificationType SECURITY_AUTHENTICATION_VIOLATION

SECURITY_PERMISSION_VIOLATION

public static final NotificationType SECURITY_PERMISSION_VIOLATION
Method Detail

values

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

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

valueOf

public static NotificationType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

intValue

public int intValue()


Copyright © 2006 JBoss Inc. All Rights Reserved.