|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<TransactionalHostContextAccessor.Propagation> com.atlassian.confluence.spring.transaction.interceptor.TransactionalHostContextAccessor.Propagation
public static enum TransactionalHostContextAccessor.Propagation
Transaction propagation, equivalent to the corresponding values of javax.ejb.TransactionAttributeType
Enum Constant Summary | |
---|---|
MANDATORY
Uses the current transaction, or throws TransactionRequiredException if there is no such transaction. |
|
REQUIRED
Uses the current transaction, if any, otherwise creates a new transaction. |
|
REQUIRES_NEW
Uses a new transaction, suspending any current transaction. |
Method Summary | |
---|---|
static TransactionalHostContextAccessor.Propagation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TransactionalHostContextAccessor.Propagation[] |
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 |
---|
public static final TransactionalHostContextAccessor.Propagation REQUIRED
public static final TransactionalHostContextAccessor.Propagation REQUIRES_NEW
public static final TransactionalHostContextAccessor.Propagation MANDATORY
TransactionRequiredException
if there is no such transaction.
Method Detail |
---|
public static TransactionalHostContextAccessor.Propagation[] values()
for (TransactionalHostContextAccessor.Propagation c : TransactionalHostContextAccessor.Propagation.values()) System.out.println(c);
public static TransactionalHostContextAccessor.Propagation 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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |