jodd.jtx
Enum JtxPropagationBehavior
java.lang.Object
java.lang.Enum<JtxPropagationBehavior>
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.
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 |
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
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