|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<JtxPropagationBehavior>
jodd.jtx.JtxPropagationBehavior
public enum JtxPropagationBehavior
Transaction propagation behavior values.
| Enum Constant Summary | |
|---|---|
PROPAGATION_MANDATORY
Support a current transaction, throw an exception if none exists. |
|
PROPAGATION_NEVER
Execute non-transactionally, throw an exception if a transaction exists. |
|
PROPAGATION_NOT_SUPPORTED
Execute non-transactionally, suspend the current transaction if one exists. |
|
PROPAGATION_REQUIRED
Support a current transaction, create a new one if none exists. |
|
PROPAGATION_REQUIRES_NEW
Create a new transaction, suspend the current transaction if one exists. |
|
PROPAGATION_SUPPORTS
Support a current transaction, execute non-transactionally if none exists. |
|
| 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're 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 |
|---|
public static final JtxPropagationBehavior PROPAGATION_REQUIRED
public static final JtxPropagationBehavior PROPAGATION_SUPPORTS
public static final JtxPropagationBehavior PROPAGATION_MANDATORY
public static final JtxPropagationBehavior PROPAGATION_REQUIRES_NEW
public static final JtxPropagationBehavior PROPAGATION_NOT_SUPPORTED
public static final JtxPropagationBehavior PROPAGATION_NEVER
| Method Detail |
|---|
public static final JtxPropagationBehavior[] values()
for(JtxPropagationBehavior c : JtxPropagationBehavior.values())
System.out.println(c);
public static JtxPropagationBehavior valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namepublic int value()
public java.lang.String toString()
toString in class java.lang.Enum<JtxPropagationBehavior>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||