jodd.jtx
Enum JtxPropagationBehavior

java.lang.Object
  extended by java.lang.Enum<JtxPropagationBehavior>
      extended by jodd.jtx.JtxPropagationBehavior
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<JtxPropagationBehavior>

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

Transaction propagation behavior values.


Enum Constant Summary
PROPAGATION_MANDATORY
           
PROPAGATION_NEVER
           
PROPAGATION_NOT_SUPPORTED
           
PROPAGATION_REQUIRED
           
PROPAGATION_REQUIRES_NEW
           
PROPAGATION_SUPPORTS
           
 
Method Summary
 java.lang.String toString()
           
 int value()
           
static JtxPropagationBehavior valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static JtxPropagationBehavior[] 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, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PROPAGATION_REQUIRED

public static final JtxPropagationBehavior PROPAGATION_REQUIRED

PROPAGATION_SUPPORTS

public static final JtxPropagationBehavior PROPAGATION_SUPPORTS

PROPAGATION_MANDATORY

public static final JtxPropagationBehavior PROPAGATION_MANDATORY

PROPAGATION_REQUIRES_NEW

public static final JtxPropagationBehavior PROPAGATION_REQUIRES_NEW

PROPAGATION_NOT_SUPPORTED

public static final JtxPropagationBehavior PROPAGATION_NOT_SUPPORTED

PROPAGATION_NEVER

public static final JtxPropagationBehavior PROPAGATION_NEVER
Method Detail

values

public static JtxPropagationBehavior[] 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 (JtxPropagationBehavior c : JtxPropagationBehavior.values())
    System.out.println(c);

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

valueOf

public static JtxPropagationBehavior 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
java.lang.NullPointerException - if the argument is null

value

public int value()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<JtxPropagationBehavior>


Copyright ©2008 Jodd Team